JP2540818B2 - Image sensor output binarization circuit - Google Patents

Image sensor output binarization circuit

Info

Publication number
JP2540818B2
JP2540818B2 JP61235664A JP23566486A JP2540818B2 JP 2540818 B2 JP2540818 B2 JP 2540818B2 JP 61235664 A JP61235664 A JP 61235664A JP 23566486 A JP23566486 A JP 23566486A JP 2540818 B2 JP2540818 B2 JP 2540818B2
Authority
JP
Japan
Prior art keywords
output
circuit
signal
read
comparator
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.)
Expired - Lifetime
Application number
JP61235664A
Other languages
Japanese (ja)
Other versions
JPS6390221A (en
Inventor
明男 辻
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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

Description

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

[従来技術とその問題点] 最近、超小型のハンディコピー機などには、光源の光
を原稿面に照射し、原稿面からの反射光をイメージセン
サ、例えばCCDで受けて画像データを読取るような画像
データ読取り手段が用いられている。
[Prior Art and its Problems] Recently, in an ultra-small handy copy machine or the like, the light of a light source is applied to the original surface, and the reflected light from the original surface is received by an image sensor, for example, a CCD to read image data. Various image data reading means are used.

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

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

ところが、このようなフローティング方式を採用する
と、上述のように原稿面に白部分と、黒部分が交互に現
われ、その読取り出力が交流的変化を有するものの場合
は何等問題ないが、いわゆるベタ白あるいはベタ黒のよ
うに読取り出力が直流的変化を呈するものの場合には、
この時のCCDの出力と、該CCDの出力を積分した出力とが
常に等しくなることから、2値化出力が「H」または
「L」のいずれかに固定されてしまい、正確な2値化信
号が得られない欠点があった。
However, when such a floating system is adopted, there is no problem in the case where a white portion and a black portion appear alternately on the document surface as described above, and the reading output thereof has an AC change, so-called solid white or If the read output has a direct current change, such as solid black,
Since the CCD output at this time and the output obtained by integrating the CCD output are always equal to each other, the binarized output is fixed to either "H" or "L", and accurate binarization is performed. There was a drawback that no signal was obtained.

[発明の目的] この発明は上記事情に鑑みてなされたもので、原稿面
の読取り出力が交流的変化するものであっても、直流的
変化するものであっても正確な2値化信号が得られるイ
メージセンサ出力の2値化回路を提供することを目的と
する。
[Object of the Invention] The present invention has been made in view of the above circumstances, and an accurate binarization signal can be obtained regardless of whether the reading output of the document surface changes AC or DC. It is an object of the present invention to provide a binarization circuit for the obtained image sensor output.

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

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

この実施例では、この発明をハンディコピー機に適用
した例を示している。第1図は、この発明を実施したハ
ンディコピー機の外観構成を示したものである。同図に
おいて1はハンディコピー機本体で、例えば幅70mm、厚
さ30mm、高さ160mm程度の大きさを有し、有効読取り
幅、有効プリント幅40mm、読取り記憶長さ200mm、読取
りドット密度8dot/mm、プリントドット密度8dot/mmを想
定している。しかして、上記ハンディコピー機本体1に
は、その先端部、つまり、図示下端部に読取り及びプリ
ントを行なうためのヘッド部HAを設けている。このヘッ
ド部HAは、幅及び厚さがハンディコピー機本体1より小
さく形成されており、ハンディコピー機本体1との間に
段差部Dが形成されている。そして、上記ヘッド部HAの
先端面は、中央より両側部に向かって斜めに形成されて
おり、その斜面部1a、1bに読取部2及びプリント部3が
それぞれ設けられる。また、上記ハンディコピー機本体
1には、一側部の図示下方に電源・読取/プリント切換
スイッチ4が設けられると共に、前面及び裏面の両面部
に相対向するように動作キー5a、5bが設けられる。この
動作キー5a、5bは平板状に形成されており、その上面部
間を手で挟んでハンディコピー機本体1を前後に移動で
きるようになっている。上記電源・読取/プリント切換
スイッチ4は、電源のオン/オフ、読取、プリントの各
動作モードを指定するもので、読取及びプリントの各モ
ードを指定した時に電源がオンするようになっている。
更に上記ハンディコピー機本体1には、上記読取部2及
びプリント部3が設けられている側とは反対の端部にク
リアキー6及びプリント濃度調整用の濃度調整ボリュー
ム7が設けられる。上記クリアキー6は、画像読取り時
は画像メモリの消去に使用され、プリント時は画像デー
タの頭出しに用いられる。また、ハンディコピー機本体
1には、上記読取部3に近接して電源LED8が設けられる
と共に、前面部の図示上端側にメモリLED9及び速度警告
LED10が配置される。
In this embodiment, an example in which the present invention is applied to a handy copy machine is shown. FIG. 1 shows an external configuration of a handy copy machine embodying the present invention. In the figure, reference numeral 1 is a main body of a handy copying machine, for example, having a width of 70 mm, a thickness of 30 mm and a height of about 160 mm, an effective read width, an effective print width of 40 mm, a read memory length of 200 mm and a read dot density of 8 dots mm, print dot density is assumed to be 8dot / mm. Then, the handy copy machine body 1 is provided with a head portion HA for reading and printing at the tip portion, that is, the lower end portion in the figure. The head HA has a width and thickness smaller than that of the main body 1 of the handy copy machine, and a step D is formed between the main body HA and the main body 1 of the handy copy machine. The tip surface of the head portion HA is formed obliquely from the center toward both side portions, and the reading portion 2 and the printing portion 3 are provided on the inclined surface portions 1a and 1b, respectively. In addition, the main body 1 of the handy copying machine is provided with a power / reading / printing changeover switch 4 at a lower part of one side in the drawing, and operation keys 5a and 5b are provided so as to face both front and back surfaces. To be The operation keys 5a and 5b are formed in a flat plate shape, and the handy copy machine main body 1 can be moved back and forth by sandwiching the upper surface portions by hand. The power supply / reading / printing changeover switch 4 is for designating each operation mode of powering on / off, reading, and printing, and the power is turned on when each reading, printing mode is designated.
Further, the handy copy machine main body 1 is provided with a clear key 6 and a density adjusting volume 7 for adjusting print density at the end opposite to the side where the reading section 2 and the printing section 3 are provided. The clear key 6 is used for erasing the image memory at the time of reading an image, and for finding the beginning of image data at the time of printing. In addition, the handy copy machine main body 1 is provided with a power supply LED 8 in the vicinity of the reading unit 3, and a memory LED 9 and a speed warning are provided on the upper end side of the front face in the figure.
The LED 10 is arranged.

しかして、上記ハンディ・コピー機により原稿を読取
る場合は、電源・読取/プリント切換スイッチ4を“読
取”の位置にする。電源・読取/プリント切換スイッチ
4を“読取”の位置にすると、電源がオンとなって電源
LED8が点灯する。この状態で読取部2を原稿面に接触さ
せ、動作キー5a、5bを押しながら移動させる。ハンディ
コピー機本体1の移動速度が速過ぎる場合は、速度警告
LED10で警告する。
Then, when the manuscript is read by the handy copying machine, the power / read / print changeover switch 4 is set to the "read" position. When the power / read / print selector switch 4 is set to the “read” position, the power turns on and the power turns on.
LED8 lights up. In this state, the reading unit 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 body 1 is too fast, a speed warning is issued.
Warning with LED10.

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

次に上記ハンディコピー機本体1内に設けられる読取
部2及びプリント部3の詳細について第2図及び第3図
により説明する。読取部2は、第2図(a)(b)に示
すようにハンディコピー機本体1内において、斜面部1a
に近接してLEDアレーからなる光源11が配設され、この
光源11により斜面部1aに設けられた読取窓12を介して読
取り原稿Bを照明するようになっている。また、ハンデ
ィコピー機本体1内には、斜面部1aの近傍から上方に向
かう光ガイド13が設けられ、この光ガイド13の上端部側
にレンズ14及び一次元イメージセンサ15が順次所定の間
隔を保って配置される。上記一次元イメージセンサ15
は、例えば1024ビットの一次元CCDで、そのうちの320ビ
ット(8dot/mmで40mm幅の場合)を使用している。上記
レンズ14及び一次元イメージセンサ15は、支持体16によ
り所定の位置に保持されている。この支持体16は、ハン
ディコピー機本体1の内側に所定間隔を保って設けられ
た内枠17に固着される。そして、上記支持体16に近接し
て電子部品実装部18及びバッテリ格納部19が設けられ、
上記電子部品実装部18に装着される回路基板20に上記一
次元イメージセンサ15が接続される。また、上記回路基
板20には、上記クリアキー6、濃度調整ボリューム7等
が接続される。
Next, details of the reading unit 2 and the printing unit 3 provided in the handy copy machine body 1 will be described with reference to FIGS. 2 and 3. As shown in FIGS. 2 (a) and 2 (b), the reading unit 2 has a slanted portion 1a in the handy copy machine main body 1.
A light source 11 composed of an LED array is disposed in close proximity to, and the read original B is illuminated by the light source 11 through a reading window 12 provided in the slope 1a. Further, in the main body 1 of the handy copying machine, a light guide 13 which is directed upward from the vicinity of the inclined surface portion 1a is provided. It is kept and arranged. The one-dimensional image sensor 15
Is, for example, a 1024-bit one-dimensional CCD, of which 320 bits (in the case of 8dot / mm and 40mm width) are used. The lens 14 and the one-dimensional image sensor 15 are held at predetermined positions by the support 16. The support 16 is fixed to an inner frame 17 provided inside the main body 1 of the handy copy machine with a predetermined space. Then, an electronic component mounting portion 18 and a battery storage portion 19 are provided in the vicinity of the support body 16,
The one-dimensional image sensor 15 is connected to the circuit board 20 mounted on the electronic component mounting portion 18. Further, the clear key 6, the density adjusting volume 7 and the like are connected to the circuit board 20.

しかして、上記内枠17内にはサーマルヘッド21、イン
クリボンロール22、等速送りローラ23、インクリボン巻
取りロール24が設けられ、ハンディコピー機本体1との
間にはゴムローラ25a、25b、歯車26、27、28、29、30が
設けられる。上記ゴムローラ25a、25bは、内枠17に軸31
を介して回転自在に装着され、その外周面が斜面部1a、
1bの両側に設けた切欠部32から僅かに外部に突出するよ
うになっている。そして、上記一方のゴムローラ25aに
は、その側部に同軸的に上記歯車26が固着される。この
歯車26は、ゴムローラ25aより小径に形成され、中間歯
車27を介在して歯車28に結合される。この歯車28は、1
方向クラッチ33を介して上記等速送りローラ23の軸に連
結される。この1方向クラッチ33は、プリント動作時の
み1次側の回転を2次側に、つまり、歯車28の回転を等
速送りローラ23側に伝える構成となっている。また、上
記1方向クラッチ33の1次側にはエンコーダディスク34
が装着され、1方向クラッチ33のクラッチ動作とは関係
なく、歯車28とエンコーダディスク34が一緒に回転する
ようになっている。このエンコーダディスク34には、第
3図に示すように複数のスリット35が一定間隔を保って
放射状に設けられている。そして、上記エンコーダディ
スク34を間に介して相対向するようにLED36及びフォト
センサ37が配置される。この場合、LED36は第2図
(a)に示すようにハンディコピー機本体1の内側に装
着され、フォトセンサ37は内枠17の内側に装着される。
この内枠17の上記フォトセンサ37を装着した部分には透
孔38が設けられ、LED36からの投射光がエンコーダディ
スク34のスリット35及び上記透孔38を通ってフォトセン
サ37に入射するようになっている。すなわち、エンコー
ダディスク34、LED36、フォトセンサ37等によりエンコ
ーダ39が構成される。
A thermal head 21, an ink ribbon roll 22, a constant velocity feed roller 23, and an ink ribbon take-up roll 24 are provided inside 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. Gears 26, 27, 28, 29, 30 are provided. The rubber rollers 25a and 25b are mounted on the inner frame 17 by a shaft 31.
Is rotatably mounted through the outer peripheral surface of the slope 1a,
The cutouts 32 provided on both sides of the 1b project slightly outward. The gear 26 is coaxially fixed to the side portion of the one rubber roller 25a. The gear 26 has a diameter smaller than that of the rubber roller 25a and is coupled to the gear 28 with an intermediate gear 27 interposed. This gear 28 is 1
It is connected to the shaft of the constant velocity feed roller 23 via a directional clutch 33. The one-way clutch 33 is configured to transmit the rotation of the primary side to the secondary side only during the printing operation, that is, the rotation of the gear 28 to the constant velocity feed roller 23 side. An encoder disc 34 is provided on the primary side of the one-way clutch 33.
The gear 28 and the encoder disk 34 rotate together regardless of the clutch operation of the one-way clutch 33. As shown in FIG. 3, the encoder disk 34 has a plurality of slits 35 radially provided at regular intervals. Then, the LED 36 and the photo sensor 37 are arranged so as to face each other with the encoder disk 34 in between. In this case, the LED 36 is mounted inside the handy copy machine main body 1 and the photo sensor 37 is mounted inside the inner frame 17, as shown in FIG.
A through hole 38 is provided in the portion of the inner frame 17 where the photo sensor 37 is mounted, so that the projection light from the LED 36 enters the photo sensor 37 through the slit 35 of the encoder disk 34 and the through hole 38. Has become. That is, the encoder 39 is configured by the encoder disk 34, the LED 36, the photo sensor 37, and the like.

また、上記プリント部3における斜面部1bには、第3
図に示すようにプリント窓41及びインクリボンガイド窓
42が並行して設けられる。この場合、プリント窓41に対
してインクリボンガイド窓42が内側に位置するように設
けられる。上記プリント窓41には上記サーマルヘッド21
の発熱部21aが挿入され、その先端面が斜面部1bより僅
かに突出するように位置設定される。そして、ハンディ
コピー機本体1の動作キー5aが設けられている側の段差
部Dには、第2図(b)に示すようにスリット43が設け
られ、インクリボンロール22から引出された熱転写イン
クリボン22aが上記スリット43からハンディコピー機本
体1の外部に導出され、その後、サーマルヘッド21の発
熱部21a部分を通ってインクリボンガイド窓42からハン
ディコピー機本体1の内部に導入される。このハンディ
コピー機本体1の内部に導入されたインクリボン22a
は、軸31、インクリボンガイド44及び等速送りローラ23
によりガイドされてインクリボン巻取りロール24に巻取
られるようになっている。更に、上記ハンディコピー機
本体1は、第2図(b)に示すように動作キー5bが設け
られている面がヒンジ45によって開閉可能に形成されて
おり、インクリボン22aの交換操作、内部の点検等がで
きるようになっている。
In addition, the slope portion 1b of the printing unit 3 has a third
As shown in the figure, the print window 41 and the ink ribbon guide window
42 are provided in parallel. In this case, the ink ribbon guide window 42 is provided inside the print window 41. In the print window 41, the thermal head 21
The heat generating portion 21a is inserted and positioned so that its tip end surface slightly protrudes from the sloped portion 1b. The step D on the side of the handy copy machine body 1 on which the operation keys 5a are provided is provided with a slit 43 as shown in FIG. 2B, and the thermal transfer ink drawn from the ink ribbon roll 22 is transferred. The ribbon 22a is led out from the slit 43 to the outside of the main body 1 of the handy copy machine, and then passes through the heating portion 21a of the thermal head 21 and is introduced from the ink ribbon guide window 42 into the main body 1 of the handy copy machine. Ink ribbon 22a introduced inside the handy copy machine body 1
Is the shaft 31, the ink ribbon guide 44, and the constant velocity feed roller 23.
And is wound around the ink ribbon take-up roll 24. Further, as shown in FIG. 2B, the surface of the handy copy machine main body 1 on which the operation keys 5b are provided is formed so as to be openable and closable by a hinge 45. It can be inspected.

次に上記回路基板20上に形成される電子回路の構成に
ついて第4図により説明する。エンコーダ39は、上記し
たようにエンコーダディスク34、LED36、フォトセンサ3
7等により構成されており、ハンディコピー機本体1の
移動量に応じたパルス信号、すなわち、移動量検出信号
を出力する。このエンコーダ39から出力される移動量検
出信号は、制御部51、タイミング信号発生部52、速度検
出部53へ送られる。上記制御部51には、上記電源・読取
/プリント切換スイッチ4、動作キー5a、5b、クリアキ
ー6、濃度調整ボリューム7等のキー及びスイッチ群54
から操作信号が与えられると共に、サーマルヘッド21の
温度及び印写紙の温度を検出する温度センサ55から温度
検出信号が与えられる。そして、制御部51は、上記キー
及びスイッチ群54からの操作信号に応じてLED部50にお
ける電源LED8及びメモリLED9の点灯制御及びその他各部
の制御動作を行なうと共に、電源・読取/プリント切換
スイッチ4により指定される読取モード或いはプリント
モードに応じてタイミング信号発生部52に動作指令S1
S2を与える。この場合、制御部51は、読取モードであれ
ば動作命令S1、また、プリントモードであれば動作命令
S2をタイミング信号発生部52に与える。
Next, the structure of the electronic circuit formed on the circuit board 20 will be described with reference to FIG. The encoder 39 includes the encoder disk 34, the LED 36, and the photo sensor 3 as described above.
It is composed of 7 etc., and outputs a pulse signal corresponding to the movement amount of the handy copy machine body 1, that is, a movement amount detection signal. The movement amount detection signal output from the encoder 39 is sent to the control unit 51, the timing signal generation unit 52, and the speed detection unit 53. The control unit 51 includes keys such as the power / read / print changeover switch 4, operation keys 5a and 5b, a clear key 6, a density adjusting volume 7 and a switch group 54.
An operation signal is given from the temperature sensor 55 and a temperature sensor 55 that detects the temperature of the thermal head 21 and the temperature of the printing paper gives a temperature detection signal. Then, the control unit 51 controls the lighting of the power LED 8 and the memory LED 9 in the LED unit 50 and the control operation of each other unit according to the operation signal from the keys and the switch group 54, and at the same time, the power / read / print changeover switch 4 The operation command S 1 to the timing signal generator 52 according to the reading mode or the print mode specified by
Give S 2 . In this case, the control unit 51 controls the operation command S 1 in the read mode and the operation command S 1 in the print mode.
S 2 is supplied to the timing signal generator 52.

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

このシリアル/パラレル変換部58は、入力信号をシリ
アル/パラレル変換信号bにより例えば8ビット毎にパ
ラレル信号に変換し、データセレクタ59を介して画像デ
ータメモリ60に出力する。また、データセレクタ59は、
データラインが制御部51に接続されており、制御部51か
らのセレクト信号dによりシリアル/パラレル変換部58
あるいは制御部51の一方が選択される。上記画像データ
メモリ60の書込みアドレス(行及び桁アドレス)は、ア
ドレスカウンタ61により示され、アドレスセレクタ62を
介して指定される。また、画像データメモリ60の読出し
アドレスは、制御部51よりアドレスセレクタ62を介して
与えられる。このアドレスセレクタ62は、制御部51から
のセレクト信号eにより、読取モード時はアドレスカウ
ンタ61側を選択し、プリントモード時は制御部51を選択
して画像データメモリ60のアドレスを指定する。
The serial / parallel converter 58 converts the input signal into a parallel signal in units of, for example, 8 bits by the serial / parallel conversion signal b, and outputs the parallel signal to the image data memory 60 via the data selector 59. In addition, the data selector 59
The data line is connected to the control unit 51, and the serial / parallel conversion unit 58 is operated by the select signal d from the control unit 51.
Alternatively, one of the control units 51 is selected. The write address (row and column address) of the image data memory 60 is indicated by the address counter 61 and designated via the address selector 62. Further, the read address of the image data memory 60 is given from the control unit 51 via the address selector 62. The address selector 62 selects the address counter 61 side in the read mode and the controller 51 in the print mode by the select signal e from the control unit 51 to specify the address of the image data memory 60.

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

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

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

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

タイミング信号発生部52の読取りタイミング信号aは
第1サンプリングクロック発生回路73および第2サンプ
リングクロック発生回路74に与えられ、第1サンプリン
グクロック発生回路73の出力は第1サンプルホールド回
路75に、第2サンプリングクロック発生回路74の出力は
第2サンプルホールド回路76に送られる。第1サンプル
ホールド回路75は増幅回路66の出力を第6図(f)に示
す第1サンプリングクロック発生回路73のサンプリング
クロックの「H」レベルでサンプリングし、「L」レベ
ルでホールドする。また、第2サンプルホールド回路76
は増幅回路66の出力を第6図(g)に示す第2サンプリ
ングクロック発生回路74のサンプリングクロックの
「H」レベルでサンプリングし、「L」レベルでホール
ドする。これらのホールド内容はコンパレータ77に与え
られる。したがって、この動作を繰返すことで、第1サ
ンプルホールド回路75は第2サンプルホールド回路76の
1つ前のCCD出力をホールドするようになり、コンパレ
ータ77よりこれらの比較結果が得られる。そして、この
コンパレータ77の比較出力はコンパレータ78の正側端子
に与えられる。このコンパレータ78は負側端子に一定の
シュレッシュ電圧を出力するVREF1発生回路79の出力が
与えられる。そして、コンパレータ79の比較結果はラッ
チ回路80に送られる。
The read timing signal a of the timing signal generator 52 is given to the first sampling clock generating circuit 73 and the second sampling clock generating circuit 74, and the output of the first sampling clock generating circuit 73 is supplied to the first sample hold circuit 75 and the second sampling hold circuit 75. The output of the sampling clock generation circuit 74 is sent to the second sample hold circuit 76. The first sample hold circuit 75 samples the output of the amplifier circuit 66 at the "H" level of the sampling clock of the first sampling clock generating circuit 73 shown in FIG. 6 (f) and holds it at the "L" level. In addition, the second sample hold circuit 76
6 samples the output of the amplifier circuit 66 at the "H" level of the sampling clock of the second sampling clock generating circuit 74 shown in FIG. 6 (g) and holds it at the "L" level. The contents of these holds are given to the comparator 77. Therefore, by repeating this operation, the first sample hold circuit 75 holds the CCD output immediately before the second sample hold circuit 76, and the comparison result is obtained from the comparator 77. The comparison output of the comparator 77 is given to the positive terminal of the comparator 78. The output of a V REF1 generating circuit 79 which outputs a constant shresh voltage is given to the negative terminal of the comparator 78. Then, the comparison result of the comparator 79 is sent to the latch circuit 80.

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

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

原稿に記録されている文字、画像等の情報を読取る場
合には、まず、電源・読取/プリント切換スイッチ4を
“電源オフ”の位置から“読取”の位置に切換える。電
源・読取/プリント切換スイッチ4を“読取”の位置に
切換えると、電源がオンして各回路部が動作状態とな
る。また、このとき制御部51は、LED部50における電源L
ED8を点灯し、電源がオンしたことを表示すると共に、
動作命令S1をタイミング信号発生部52に与える。しかし
て、ユーザーは、この状態で第2図(b)に示すように
ヘッド部HAに形成されている読取部2を原稿Bの所望読
取り面に当接させ、動作キー5a、5bを押しながらハンデ
ィコピー機本体1を動作キー5a側の前方に向かって移動
させる。このとき光源11からの投射光が斜面部1aに設け
た読取窓12を介して原稿B面に照射され、その反射光が
光ガイド13及びレンズ14を介して一次元イメージセンサ
15に入射する。
When reading information such as characters and images recorded on a document, first, the power / read / print switching switch 4 is switched from the "power off" position to the "read" position. When the power / reading / printing changeover switch 4 is switched to the "reading" position, the power is turned on and the respective circuit parts are in the operating state. Further, at this time, the control unit 51 controls the power supply L in the LED unit 50.
The ED8 lights up, indicating that the power is on,
The operation command S 1 is given to the timing signal generator 52. Then, in this state, the user brings the reading unit 2 formed on the head unit HA into contact with the desired reading surface of the document B while pressing the operation keys 5a and 5b as shown in FIG. 2 (b). The main body 1 of the handy copy machine is moved toward the front on the operation key 5a side. At this time, the projection light from the light source 11 is applied to the surface of the original B through the reading window 12 provided in the inclined surface portion 1a, and the reflected light is passed through the light guide 13 and the lens 14 to the one-dimensional image sensor.
Incident on 15.

また、ハンディコピー機本体1の移動に伴い、ゴムロ
ーラ25a、25bが原稿B面に接して回転し、その回転が歯
車26、27を介して歯車28に伝達される。そして、この歯
車28の回転と共にエンコーダディスク34がハンディコピ
ー機本体1の移動速度に比例した速さで回転する。この
エンコーダディスク34の回転により、LED36からスリッ
ト35を介してフォトセンサ37に送られる光が断続制御さ
れ、フォトセンサ37からパルス信号が出力される。そし
て、このフォトセンサ37から出力されるパルス信号が第
4図におけるエンコーダ39の出力となり、ハンディコピ
ー機本体1に対する移動量検出信号として制御部51、タ
イミング信号発生部52、速度検出部53へ送られる。
Further, as the main body 1 of the handy copying machine moves, the rubber rollers 25a and 25b rotate in contact with the surface of the document B, and the rotation is transmitted to the gear 28 via the gears 26 and 27. Then, with the rotation of the gear 28, the encoder disk 34 rotates at a speed proportional to the moving speed of the main body 1 of the handy copy machine. The rotation of the encoder disk 34 intermittently controls the light sent from the LED 36 to the photo sensor 37 via the slit 35, and the photo sensor 37 outputs a pulse signal. The pulse signal output from the photo sensor 37 becomes the output of the encoder 39 in FIG. 4, and is sent to the control unit 51, the timing signal generation unit 52, and the speed detection unit 53 as a movement amount detection signal for the main body 1 of the handy copy machine. To be

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

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

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

一方、増幅回路66の出力は第1サンプルホールド回路
75、第2サンプルホールド回路76に送られる。この状態
で、タイミング信号発生部52からの読取りタイミング信
号aが第1サンプリングクロック発生回路73、第2サン
プリングクロック発生回路74に与えられると、第1サン
プリングクロック発生回路73より第6図(f)に示すサ
ンプリングクロックが出力され、第1サンプルホールド
回路75の内容は「H」レベルでサンプリングされ、
「L」レベルでホールドされる。同様に、第2サンプリ
ングクロック発生回路74より第6図(g)に示すサンプ
リングクロックが出力され、第2サンプルホールド回路
76の内容は「H」レベルでサンプリングされ、「L」レ
ベルでホールドされる。こうして第1サンプルホールド
回路75および第2サンプルホールド回路76にホールドさ
れた内容はコンパレータ77に与えられる。この場合、コ
ンパレータ77に与えられる第1サンプルホールド回路75
のCCD出力は、第2サンプルホールド回路76のCCD出力の
1つ前のものとなり、これらの比較結果がコンパレータ
77より出力される。ここで、コンパレータ77は、CCD出
力が交流的に変化するものであるときは大きな出力が、
逆にCCD出力が直流的に変化するものであるときは小さ
な出力が得られる。そして、このコンパレータ77の出力
はコンパレータ78に与えられ、VREF1発生回路79の一定
のシュレッシュ電圧と比較される。この場合、コンパレ
ータ78は、コンパレータ77での出力が十分大きく、V
REF1発生回路79の一定のシュレッシュ電圧を越えるとき
は「1」出力を、また、コンパレータ77での出力が小さ
く、VREF1発生回路79の一定のシュレッシュ電圧以下で
あるときは「0」出力を発生する。そして、この出力は
ラッチクロック発生回路81の第6図(h)に示すラッチ
クロックによりラッチ回路80にラッチされたのち、セレ
クト回路69に送られる。したがって、仮にCCD出力が交
流的に大きく変化するもので、コンパレータ77での出力
がVREF1発生回路79の一定のシュレッシュ電圧を越える
ときは「1」出力がラッチ回路80を介してセレクト回路
69のアンドゲート692に与えられるので、コンパレータ7
0の出力がフローティング2値化信号として送出され
る。この場合、アンドゲート691はインバータ694より
「0」出力が与えられるので、コンパレータ67の出力が
セレクトされることがない。一方、CCD出力が直流的に
変化するもので、コンパレータ77での出力がVREF1発生
回路79の一定のシュレッシュ電圧以下のときは「0」出
力がラッチ回路80よりセレクト回路69のインバータ694
に与えられる。すると、インバータ694より「1」出力
がアンドゲート691に与えられるようになり、今度はコ
ンパレータ67より2値化信号が出力されるようになる。
この場合、アンドゲート692は「0」出力が与えられる
ので、コンパレータ70の出力がセレクトされることはな
い。
On the other hand, the output of the amplifier circuit 66 is the first sample hold circuit.
75, sent to the second sample and hold circuit 76. In this state, when the read timing signal a from the timing signal generating section 52 is given to the first sampling clock generating circuit 73 and the second sampling clock generating circuit 74, the first sampling clock generating circuit 73 causes the reading timing signal a shown in FIG. The sampling clock shown in is output, the contents of the first sample hold circuit 75 are sampled at the “H” level,
Hold at "L" level. Similarly, the second sampling clock generation circuit 74 outputs the sampling clock shown in FIG.
The contents of 76 are sampled at the "H" level and held at the "L" level. The contents held in the first sample hold circuit 75 and the second sample hold circuit 76 in this way are given to the comparator 77. In this case, the first sample hold circuit 75 provided to the comparator 77
The CCD output of becomes the one before the CCD output of the second sample hold circuit 76, and the comparison result of these is the comparator output.
It is output from 77. Here, the comparator 77 outputs a large output when the CCD output changes AC-wise.
On the contrary, when the CCD output changes in DC, a small output is obtained. Then, the output of the comparator 77 is given to the comparator 78 and compared with the constant threshold voltage of the V REF1 generating circuit 79. In this case, the comparator 78 has a sufficiently large output from the comparator 77 that V
Outputs "1" when the constant threshold voltage of REF1 generating circuit 79 is exceeded, and outputs "0" when the output of comparator 77 is small and is less than the constant threshold voltage of V REF1 generating circuit 79. To occur. Then, this output is sent to the select circuit 69 after being latched in the latch circuit 80 by the latch clock shown in FIG. 6 (h) of the latch clock generation circuit 81. Therefore, if the CCD output changes greatly in an alternating current, and the output from the comparator 77 exceeds the constant threshold voltage of the V REF1 generating circuit 79, the "1" output is output via the latch circuit 80 to the select circuit.
Since it is given to the AND gate 692 of 69, the comparator 7
The output of 0 is sent out as a floating binary signal. In this case, since the AND gate 691 is provided with the "0" output from the inverter 694, the output of the comparator 67 is not selected. On the other hand, when the CCD output changes in a direct current, and the output from the comparator 77 is below a certain threshold voltage of the V REF1 generating circuit 79, a “0” output is output from the latch circuit 80 by the inverter 694 of the select circuit 69.
Given to. Then, the output of "1" from the inverter 694 comes to be given to the AND gate 691, and this time, the binary signal is outputted from the comparator 67.
In this case, since the AND gate 692 is provided with the "0" output, the output of the comparator 70 is not selected.

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

画像データメモリ60のアドレスは、アドレスセレクタ
62を介して指定されるが、このときアドレスセレクタ62
は制御部51からのセレクト信号eによりアドレスカウン
タ61側に切換えられている。従って、アドレスカウンタ
61のカウント出力により画像データメモリ60のアドレス
指定が行なわれる。上記アドレスカウンタ61は、タイミ
ング信号発生部52からのクロックパルスcにより順次桁
アドレスが「+1」され、画像データメモリ60のアドレ
スを指定する。そして、タイミング信号発生部52は、画
像データメモリ60に1行分の画像データが書込まれる
と、タイミング信号の発生を停止し、エンコーダ39から
次の移動量検出信号が送られてくるまで待機状態とな
る。以下同様の動作が繰返され、原稿Bから読取った画
像データが画像データメモリ60に順次書込まれる。
The address of the image data memory 60 is an address selector
The address selector 62 is specified at this time.
Is switched to the address counter 61 side by a select signal e from the control unit 51. Therefore, the address counter
The count output of 61 addresses the image data memory 60. In the address counter 61, the digit address is sequentially incremented by "+1" by the clock pulse c from the timing signal generator 52, and the address of the image data memory 60 is designated. Then, when the image data memory 60 writes one row of image data, the timing signal generator 52 stops generating the timing signal and waits until the encoder 39 sends the next movement amount detection signal. It becomes a state. The same operation is repeated thereafter, and the image data read from the original B is sequentially written in the image data memory 60.

次に上記のようにして原稿Bから読取った画像データ
をプリント・アウトする場合の動作について説明する。
画像データをプリント・アウトする場合は、電源・読取
/プリント切換スイッチ4をプリント位置に切換える。
この電源・読取/プリント切換スイッチ4の切換えによ
りプリントモードとなり、制御部51はセレクト信号d、
eによりデータセレクタ59及びアドレスセレクタ62を制
御部51側に切換える。この状態でユーザーが第1図に示
すようにヘッド部HAにおけるプリント部3を印写紙Aに
接触させ、動作キー5a、5bを押しながらハンディコピー
機本体1を図示矢印X方向に移動させる。このハンディ
コピー機本体1の移動に伴いゴムローラ25a、25bが回転
し、その回転が歯車26、27を介して歯車28に伝達され
る。そして、この歯車28の回転に伴ってエンコーダディ
スク34が回転し、フオトセンサ37から上記読取り時と同
様にハンディコピー機本体1の移動速度に応じて移動量
検出信号が取出される。
Next, the operation for printing out the image data read from the document B as described above will be described.
When printing out the image data, the power source / read / print switch 4 is switched to the print position.
When the power / read / print changeover switch 4 is switched, the print mode is set, and the control unit 51 selects the select signal d,
The data selector 59 and the address selector 62 are switched to the control unit 51 side by e. In this state, the user brings the print unit 3 of the head unit HA into contact with the printing paper A as shown in FIG. 1, and moves the handy copy machine body 1 in the direction of the arrow X in the figure while pressing the operation keys 5a and 5b. The rubber rollers 25a and 25b rotate with the movement of the main body 1 of the handy copying machine, and the rotation is transmitted to the gear 28 via the gears 26 and 27. Then, the encoder disk 34 rotates in accordance with the rotation of the gear 28, and the movement amount detection signal is taken out from the photo sensor 37 in accordance with the movement speed of the main body 1 of the handy copying machine, as in the above reading.

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

一方、上記フォトセンサ37から出力される移動量検出
信号は、上記したようにエンコーダ39の出力信号として
制御部51、タイミング信号発生部52及び速度検出部53へ
送られる。上記タイミング信号発生部52は、上記エンコ
ーダ39から送られてくる移動量検出信号に応じて制御部
51に1行印字命令を出力すると共にサーマルヘッド駆動
回路64にプリントタイミング信号を出力する。また、制
御部51は、エンコーダ39からの移動量検出信号に応じで
画像データメモリ60の行及び桁アドレスを順次指定し、
画像データメモリ60に記憶されている画像データをデー
タセレクタ59を介して読出し、サーマルヘッド駆動回路
64へ1行分づつ出力する。このサーマルヘッド駆動回路
64は、制御部51からのデータに従って駆動信号をサーマ
ルヘッド21に出力する。更に制御部51は、タイミング信
号発生部52から1行印字命令が与えられると、印字デー
タの黒字数、温度センサ55からのヘッド温度、濃度調整
ボリューム7の調整値等を基にサーマルヘッド21に対す
る通電時間を設定するようになる。
On the other hand, the movement amount detection signal output from the photo sensor 37 is sent to the control unit 51, the timing signal generation unit 52, and the speed detection unit 53 as the output signal of the encoder 39 as described above. The timing signal generation unit 52 is a control unit according to the movement amount detection signal sent from the encoder 39.
A one-line print command is output to 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 column addresses of the image data memory 60 according to the movement amount detection signal from the encoder 39,
The image data stored in the image data memory 60 is read out via the data selector 59, and the thermal head drive circuit is read.
Output one line to 64. This thermal head drive circuit
64 outputs a drive signal to the thermal head 21 according to the data from the control unit 51. Further, when a one-line print command is given from the timing signal generator 52, the controller 51 controls the thermal head 21 based on the number of black characters in the print data, the head temperature from the temperature sensor 55, the adjustment value of the density adjustment volume 7, and the like. The energizing time will be set.

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

したがって、このようにすれば断続的に与えられるCC
D出力の隣接するCCD出力の差を検出し、この出力差が所
定値を越える場合はフローティング方式による2値化信
号の選択し、一方、出力差が所定値以下の場合は単一の
シュレッシュ電圧に基づく2値化信号を選択するように
したので、原稿面での読取り出力が交流的に変化するも
の、あるいは直流的に変化するもののいずれの場合で
も、正確な2値化信号を出力することができる。
Therefore, in this way CC will be given intermittently
Detects the difference between adjacent CCD outputs of D output, and when this output difference exceeds a specified value, selects the binary signal by the floating method, while when the output difference is less than the specified value, a single shresh Since the binarized signal based on the voltage is selected, an accurate binarized signal is output regardless of whether the reading output on the original surface changes AC-wise or DC-wise. be able to.

なお、この発明は上記実施例にのみ限定されず、要旨
を変更しない範囲で適宜変形して実施できる。
The present invention is not limited to the above-described embodiment, and can be appropriately modified and implemented without changing the gist.

[発明の効果] この発明によれば、断続的に与えられるCCD出力の隣
接するもの同士の出力差に応じてフローティング方式に
よる2値化信号あるいは単一シュレッシュ電圧での2値
化信号を選択できるようにしたので、原稿面より読取ら
れる出力が交流的に変化する場合、あるいは直流的に変
化する場合のいずれでも、正確な2値化信号を得ること
ができる。
[Effect of the Invention] According to the present invention, a binarized signal by a floating system or a binarized signal at a single shresh voltage is selected according to the output difference between adjacent CCD outputs that are intermittently applied. Since this is possible, an accurate binarized signal can be obtained regardless of whether the output read from the original surface changes AC-wise or DC-wise.

【図面の簡単な説明】[Brief description of drawings]

第1図はこの発明の一実施例の外観構成を示す斜視図、
第2図(a)は第1図の内部構成を示す断面図、第2図
(b)は同図(a)のII−II線矢視断面図、第3図は内
部の主要構成部分を取出して示す斜視図、第4図は電子
回路全体の構成を示すブロック図、第5図は同実施例に
使用される2値化回路の回路構成を示すブロック図、第
6図は同2値化回路を説明するための波形図、第7図は
従来のCCD出力の2値化回路を説明するための図であ
る。 1……ハンディコピー機本体、2……読取部、3……プ
リント部、4……電源・読取/プリント切換スイッチ、
5a、5b……動作キー、6……クリアキー、7……濃度調
整ボリューム、8……電源LED、9……メモリLED、10…
…速度警告LED、11……光源、11a……光源本体、11b…
…鏡、12……読取窓、13……光ガイド、14……レンズ、
15……一次元イメージセンサ、16……支持体、17……内
枠、18……電子部品実装部、19……バッテリ格納部、20
……回路基板、21……サーマルヘッド、22……インクリ
ボンロール、23……等速送りローラ、24……インクリボ
ン巻取りロール、25a、25b……ゴムローラ、26〜30……
歯車、32……切欠部、33……1方向クラッチ、34……エ
ンコーダディスク、35……スリット、36……LED、37…
…フォトセンサ、38……透孔、39……エンコーダ、47…
…プリント窓、42……インクリボンガイド窓、43……ス
リット、44……インクリボンガイド、45……ヒンジ、51
……制御部、52……タイミング信号発生部、53……速度
検出部、54……スイッチ群、55……温度センサ、56……
アンプ、57……A/D変換部、58……シリアル/パラレル
変換部、59……データセレクタ、60……画像データメモ
リ、61……アドレスカウンタ、62……アドレスセレク
タ、64……サーマルヘッド駆動回路、67、70、77、78…
…コンパレータ、68……VREF2発生回路、69……セレク
ト回路、72……ボルテージフォロア、73……第1サンプ
ルクロック発生回路、74……第2サンプルクロック発生
回路、75……第1サンプルホールド回路、76……第2サ
ンプルホールド回路、79……VREF1発生回路、80……ラ
ッチ回路。
FIG. 1 is a perspective view showing an external configuration of an embodiment of the present invention,
2 (a) is a sectional view showing the internal structure of FIG. 1, FIG. 2 (b) is a sectional view taken along the line II-II of FIG. 2 (a), and FIG. FIG. 4 is a perspective view taken out, FIG. 4 is a block diagram showing a configuration of the entire electronic circuit, FIG. 5 is a block diagram showing a circuit configuration of a binarizing circuit used in the embodiment, and FIG. FIG. 7 is a waveform diagram for explaining the digitizing circuit, and FIG. 7 is a diagram for explaining a conventional CCD output binarizing circuit. 1 ... Handy copy machine main body, 2 ... reading unit, 3 ... printing unit, 4 ... power supply / reading / printing switch,
5a, 5b ... Operation key, 6 ... Clear key, 7 ... Density adjustment volume, 8 ... Power LED, 9 ... Memory LED, 10 ...
… Speed warning LED, 11… Light source, 11a… Light source body, 11b…
… Mirror, 12 …… reading window, 13 …… light guide, 14 …… lens,
15 ... One-dimensional image sensor, 16 ... Support, 17 ... Inner frame, 18 ... Electronic component mounting part, 19 ... Battery storage part, 20
...... Circuit board, 21 ...... Thermal head, 22 ...... Ink ribbon roll, 23 …… Constant speed feed roller, 24 …… Ink ribbon winding roll, 25a, 25b …… Rubber roller, 26 to 30 ……
Gears, 32 ... Notches, 33 ... One-way clutch, 34 ... Encoder disk, 35 ... Slit, 36 ... LED, 37 ...
… Photo sensor, 38… Through hole, 39… Encoder, 47…
… Print window, 42 …… Ink ribbon guide window, 43 …… Slit, 44 …… Ink ribbon guide, 45 …… Hinge, 51
...... Control unit, 52 ...... Timing signal generation unit, 53 ...... Speed detection unit, 54 ...... Switch group, 55 ...... Temperature sensor, 56 ......
Amplifier, 57 …… A / D 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 …… V REF2 generation circuit, 69 …… Select circuit, 72 …… Voltage follower, 73 …… First sample clock generation circuit, 74 …… Second sample clock generation circuit, 75 …… First sample hold Circuit, 76 ... Second sample and hold circuit, 79 ... V REF1 generation circuit, 80 ... Latch circuit.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】原稿面のデータを読取るイメージセンサか
ら断続的なに画面信号を出力させる出力手段と、この出
力手段より出力される画像信号を該画像信号の積分値に
基づいて2値化する第1の2値化手段と、上記出力発生
手段より出力される画像信号を単一のシュレッシュ電圧
に基づき2値化する第2の2値化手段と、上記出力手段
により出力される画像信号の相互に隣接する画像信号の
差を検出する出力差検出手段と、この出力差検出手段に
て検出された出力差が所定値以上のとき上記第1の2値
化手段の2値化信号を選択し上記出力差が所定値以下の
とき上記第2の2値化手段の2値化信号を選択する選択
手段とを具備したことを特徴とするイメージセンサ出力
の2値化回路。
1. An output means for intermittently outputting a screen signal from an image sensor for reading data on an original surface, and an image signal output from this output means is binarized based on an integrated value of the image signal. First binarizing means, second binarizing means for binarizing the image signal output from the output generating means based on a single shresh voltage, and image signal output by the output means Output difference detecting means for detecting the difference between the image signals adjacent to each other, and the binarized signal of the first binarizing means when the output difference detected by the output difference detecting means is a predetermined value or more. A binarizing circuit for the image sensor output, comprising: selecting means for selecting the binarized signal of the second binarizing means when the selected output difference is equal to or less than a predetermined value.
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 JPS6390221A (en) 1988-04-21
JP2540818B2 true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3643088B2 (en) 2002-04-16 2005-04-27 シャープ株式会社 Data slicer

Also Published As

Publication number Publication date
JPS6390221A (en) 1988-04-21

Similar Documents

Publication Publication Date Title
US4684998A (en) Image reader suitable for manual scanning
EP0278004B1 (en) Small copying apparatus
US4709149A (en) Copying machine
US4701804A (en) Image reading apparatus
EP0332114A2 (en) Sweeping apparatus for reading image data
EP0257651B1 (en) Manual document scanning apparatus
JP2540818B2 (en) Image sensor output binarization circuit
JP2512901B2 (en) Manual image input device
JPS6390220A (en) Binarizing circuit for image sensor output
JPS6374255A (en) Compact image information processor
JPH0450692Y2 (en)
JP2531160B2 (en) Image data reader
KR100241243B1 (en) Electronic blackboard apparatus
JPS60157A (en) Picture input device
JPS62292062A (en) Manual system picture information processor
JPS62290556A (en) Line printer
JPS63281878A (en) Small-sized printing apparatus
JPS62292061A (en) Small-sized printing device
JPH0450691Y2 (en)
JPS63276567A (en) Thermal printer
JPH0641419Y2 (en) Manual scanning electronic device
JPS6386953A (en) Image data processor
JPS6376566A (en) Picture data reader
JPH04270552A (en) Copying machine
JPS62292065A (en) Small-sized copying device