Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0738682B2 - Image signal processing processor - Google Patents
[go: Go Back, main page]

JPH0738682B2 - Image signal processing processor - Google Patents

Image signal processing processor

Info

Publication number
JPH0738682B2
JPH0738682B2 JP58201038A JP20103883A JPH0738682B2 JP H0738682 B2 JPH0738682 B2 JP H0738682B2 JP 58201038 A JP58201038 A JP 58201038A JP 20103883 A JP20103883 A JP 20103883A JP H0738682 B2 JPH0738682 B2 JP H0738682B2
Authority
JP
Japan
Prior art keywords
signal
register
output
circuit
sensor
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
JP58201038A
Other languages
Japanese (ja)
Other versions
JPS6094576A (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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP58201038A priority Critical patent/JPH0738682B2/en
Publication of JPS6094576A publication Critical patent/JPS6094576A/en
Publication of JPH0738682B2 publication Critical patent/JPH0738682B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Editing Of Facsimile Originals (AREA)
  • Facsimile Image Signal Circuits (AREA)

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は、画像信号処理プロセッサに係り、特に、画像
信号処理プロセッサとして必要な構成部分を1チップLS
I(大規模集積回路)内に収納させた画像信号処理プロ
セッサに関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image signal processing processor, and in particular, a component necessary for the image signal processing processor is a 1-chip LS.
The present invention relates to an image signal processor housed in I (large-scale integrated circuit).

〔発明の背景〕[Background of the Invention]

フアクシミリ、OCR、高機能コピー機、ハンドスキヤナ
などのように光電変換読み取りセンサを備えた製品にお
ける画像信号処理は、製品の相違や機種の相違によつて
まちまちである。従つてこれらの製品は、それぞれの画
像信号処理に適した専用の画像信号処理回路を備えてお
り、この画像信号処理回路を別の製品や機種に適用する
ことができない。
Image signal processing in products equipped with photoelectric conversion reading sensors such as facsimiles, OCRs, high-function copiers, and hand scanners varies depending on the product and the model. Therefore, these products have a dedicated image signal processing circuit suitable for each image signal processing, and this image signal processing circuit cannot be applied to another product or model.

例えばフアクシミリの分野においては、 (1) 送信原稿サイズと受信記録紙サイズ及び線密度 (2) 送信原稿と読み取りセンサの相対位置 (3) 読み取りセンサからのイメージ信号の振幅 (4) 性能上(画質上)の設定値 などの値によつて、画像信号処理態様が相違する。CCIT
T(国際電信電話諮問委員会)の勧告でグループIII(G
III)のフアクシミリは、1728画素を8本/mmの線密度
(主走査方向)で1ラインずつ画面の左側からMH符号あ
るいはMR符号によつて送受信することが標準モードとし
て定められている。これは紙幅が216mmのA4サイズある
いはレターサイズの原稿を送受信するためのものであ
る。しかし実際には、紙幅が257mmのB4サイズの原稿を
送信できる送信機とA4サイズの受信機の交信もある。ま
た線密度に関しても、8本/mmのフアクシミリばかりで
はなく、12本/mm,16本/mmあるいは200本/インチ,240本
/インチ,300本/インチ,400本/インチなどのフアクシ
ミリが製造あるいは開発されており、これらのフアクシ
ミリは自由に交信できることが望ましい。このために
は、各種のフアクシミリはそれぞれが画像データを縮
少、拡張する機能をもたなければならない。
For example, in the field of facsimiles, (1) the size of the transmitted document and the size and linear density of the received recording paper (2) the relative position of the transmitted document and the reading sensor (3) the amplitude of the image signal from the reading sensor (4) in terms of performance (image quality The image signal processing mode differs depending on the values such as the setting values in (above). CCIT
At the recommendation of T (International Telegraph and Telephone Advisory Committee), Group III (G
In III), the facsimile machine is defined as a standard mode in which 1728 pixels are transmitted / received line by line from the left side of the screen using the MH code or the MR code at a line density (main scanning direction) of 8 lines / mm. This is for sending and receiving A4 size or letter size originals with a paper width of 216 mm. However, in reality, there is also communication between a transmitter that can send a B4 size document with a paper width of 257 mm and an A4 size receiver. Regarding linear density, not only 8 / mm, but also 12 / mm, 16 / mm or 200 / inch, 240 / inch, 300 / inch, 400 / inch, etc. are manufactured. It has been developed or is being developed, and it is desirable that these faxcimiles can communicate freely. For this purpose, each facsimile must have a function of reducing or expanding image data.

また、市販されているCCDセンサなどの光電変換読み取
りセンサのイメージ信号の出力は、画素毎に別チヤンネ
ルで出力するもの、1チヤンネルで出力するもの、ある
いは波形整形して出力するものなどがある。またイメー
ジ信号の振幅も光源の輝度ばらつき、センサの感度ばら
つきによつてばらつきが発生し、原稿濃度によつて変化
する。これらによりイメージ信号の振幅は10倍以上も変
化するのでその整合が必要である。
As for the output of the image signal of a photoelectric conversion reading sensor such as a commercially available CCD sensor, there are different channels for each pixel, a single channel, a waveform-shaped output, and the like. Further, the amplitude of the image signal also varies depending on the luminance variation of the light source and the sensitivity variation of the sensor, and changes depending on the document density. Because of these, the amplitude of the image signal changes more than 10 times, so matching is necessary.

また、中間調画像の読み取り方法に、組織的デイザ法が
ある。これはイメージ信号をスライスするレベルをある
パターンに従つて1画素毎に切り換える方法である。こ
のパターンの設定、また読み取り時のγ補正の設定値の
決定が必要である。
Further, as a method of reading a halftone image, there is an organized dither method. This is a method of switching the level for slicing an image signal for each pixel according to a certain pattern. It is necessary to set this pattern and determine the set value of γ correction at the time of reading.

また、フアクシミリは副走査方向の走査ピツチを変化さ
せ、情報量の少ない領域を早送りする機能をもつてい
る。このため送信すべき原稿の情報量を判定する線密度
判定機能が必要である。
Further, the facsimile has a function of changing the scanning pitch in the sub-scanning direction to fast-forward an area having a small amount of information. Therefore, a linear density determination function for determining the information amount of the original to be transmitted is necessary.

更にまた、センサーは1画素毎に感度のばらつきがあ
り、これを補正する機能が必要である。
Furthermore, the sensor has a variation in sensitivity for each pixel, and a function for correcting this is required.

従来の画像信号処理プロセッサにおいては、前述したよ
うに使用条件により各機能が異なり、それぞれ前記各機
能について専用の回路構成を採用しなければならないと
いう認識があったため、前記画像信号処理プロセッサを
1チップLSIで構成する場合には、アナログ信号処理部
とそれに関連する制御部分、デジタル信号処理部とそれ
に関連する制御部分というように、各構成部分を個別に
LSI化し、それらのLSIを適宜組み合わせて使用してい
た。
In the conventional image signal processor, it has been recognized that each function is different depending on the usage conditions as described above, and that a dedicated circuit configuration must be adopted for each function, so that the image signal processor has one chip. In the case of configuring with LSI, each component such as an analog signal processing section and its related control section, a digital signal processing section and its related control section are individually separated.
It was made into an LSI, and those LSIs were used in an appropriate combination.

このため、画像信号処理プロセッサの製品や機種が相違
する毎に、その処理を行なうための新しいLSIを設計、
開発しなければならないため、従来の画像信号処理プロ
セッサは、開発費の上昇に伴う製品コストの上昇を招い
たり、複数のLSIの使用により小型化の妨げになるとい
う問題を有するものであった。
Therefore, every time the product or model of the image signal processor is different, a new LSI for performing the processing is designed,
Since it has to be developed, the conventional image signal processor has a problem that the product cost is increased due to the increase in development cost and the miniaturization is hindered by the use of a plurality of LSIs.

従って、本発明は、このような問題点を除去するために
なされたものである。
Therefore, the present invention has been made to eliminate such problems.

〔発明の目的〕[Object of the Invention]

本発明の1つの目的は、画像信号処理プロセッサにおい
て必要とされる各種の構成部分の中の殆んどの部分を1
チップLSIに収納させるようにした画像信号処理プロセ
ッサを提供することである。
One of the objects of the present invention is to make most of the various components required in the image signal processor 1
An object of the present invention is to provide an image signal processor adapted to be housed in a chip LSI.

また、本発明のもう1つの目的は、外部接続されるセン
サ等の変更に伴い、画像信号処理プロセッサにおいて実
行される1つまたは複数の機能の変更を、内部レジスタ
の値の変更だけで対処させるようにした画像信号処理プ
ロセッサを提供することである。
Another object of the present invention is to deal with the change of one or more functions executed in the image signal processor with the change of the externally connected sensor etc. only by changing the value of the internal register. An image signal processor is provided.

〔発明の概要〕[Outline of Invention]

上記目的を達成するために、本発明は、センサから入力
されるアナログ信号の歪補正を行ない、デジタル信号と
して出力するアナログ信号処理部と、前記デジタル信号
の主及び副走査線密度を指定された走査線密度に各変換
するデジタル信号処理部と、センサを駆動するセンサ駆
動部と、前記各部の動作タイミングを設定するタイマ及
びシーケンサと、外部接続の制御装置にデータバス及び
コントロールバスを介して結合されるインタフェースを
それぞれ具備し、さらに、前記インタフェースは、前記
LSIにおける動作モード、各種コマンド、各種のパラメ
ータ値をアドレスに対応して設定するレジスタと、前記
外部接続の制御装置から供給されるデータに基づいて前
記レジスタのアドレス書き込みを行なうコントローラ
と、前記デジタル信号処理部からの出力デジタル信号を
前記外部接続の制御装置に供給するバスバッファとを具
備し、1チップLSIにより構成された画像信号処理プロ
セッサを得ることを特徴とするもので、これにより1つ
の画像信号処理プロセッサを多様に利用できるようにし
たものである。
In order to achieve the above object, the present invention specifies an analog signal processing unit that corrects distortion of an analog signal input from a sensor and outputs the digital signal, and main and sub-scanning line densities of the digital signal. Digital signal processing unit for each conversion into scanning line density, sensor driving unit for driving sensor, timer and sequencer for setting operation timing of each unit, and coupling to externally connected control unit via data bus and control bus Each of the interfaces described above,
A register that sets an operation mode, various commands, and various parameter values in the LSI in correspondence with an address, a controller that writes the address of the register based on data supplied from the externally connected control device, and the digital signal An image signal processor including a bus buffer for supplying an output digital signal from a processing unit to the externally connected control device, and an image signal processor constituted by a one-chip LSI is obtained. The signal processor can be used in various ways.

〔発明の実施例〕Example of Invention

以下、本発明の一実施例について詳細に説明する。第1
図は本発明によるプロセツサ10とその周辺の回路構成の
一例である。1はアナログ信号処理部、2はデイジタル
信号処理部、3はラインメモリ、4はセンサドライバイ
ンターフエイス(センサI/F)、5はタイマ、6はシー
ケンサ、7はμCPUインターフエイス(μCPUI/F)、8
はμCPUである。
An embodiment of the present invention will be described in detail below. First
The figure shows an example of the circuit configuration of the processor 10 and its peripherals according to the present invention. 1 is an analog signal processing unit, 2 is a digital signal processing unit, 3 is a line memory, 4 is a sensor driver interface (sensor I / F), 5 is a timer, 6 is a sequencer, and 7 is a μCPU interface (μCPUI / F). , 8
Is a μCPU.

本発明のプロセツサ10は1チツプのLSIとして作られ、
このLSIはアナログ信号処理部1,デイジタル信号処理部
2,センサI/F4,タイマ5,シーケンサ6,μCPUI/F7を備え
る。
The processor 10 of the present invention is made as a one-chip LSI,
This LSI is an analog signal processing unit 1, digital signal processing unit
It is equipped with 2, sensor I / F 4, timer 5, sequencer 6, and μCPU I / F 7.

センサ(CCDラインセンサなど)を駆動するためのタイ
ミング信号をセンサI/F4で発生し、上記タイミング信号
に同期したアナログのイメージ信号をアナログ信号処理
部1に入力する。
A timing signal for driving a sensor (CCD line sensor or the like) is generated by the sensor I / F 4, and an analog image signal synchronized with the timing signal is input to the analog signal processing unit 1.

アナログ信号処理部1は特開昭56−157575号に記載され
たものとほぼ同じである。このアナログ信号処理部1は
光学系、例えばレンズや光源などに起因する信号歪特性
を記憶しておくことによつて、センサから入来するイメ
ージ信号を正しくデイジタル化する。上記デイジタル化
されたイメージ信号はデイジタル信号処理部2に入力す
る。デイジタル信号処理部2では、上記デイジタル信号
をフアクシミリ等の装置に必要な情報形態に変換し、μ
CPUI/F7を通してμCPU8のバスラインへ送出したり、シ
リアル情報として出力する。
The analog signal processing unit 1 is almost the same as that described in JP-A-56-157575. The analog signal processing unit 1 stores the signal distortion characteristics caused by an optical system, such as a lens or a light source, so that the image signal coming from the sensor is properly digitized. The digitalized image signal is input to the digital signal processing unit 2. The digital signal processing unit 2 converts the digital signal into an information form necessary for a device such as a facsimile, and
It is sent to the bus line of μCPU8 through CPUI / F7 and output as serial information.

デイジタル信号処理部2のもつ機能としては、主走査方
向及び副走査方向の線密度変換(主に縮少)あるいは前
記した線密度判定などがある。副走査方向の線密度を変
換するためには、前ラインあるいは前々ラインの情報を
記憶しておく必要がある。ラインメモリ3はこのために
接続される。
The functions of the digital signal processing unit 2 include linear density conversion (mainly reduction) in the main scanning direction and the sub scanning direction, or the above-described linear density determination. In order to convert the line density in the sub-scanning direction, it is necessary to store the information of the preceding line or the preceding line. The line memory 3 is connected for this purpose.

デイジタル信号処理部2ではμCPU8のバスラインからの
情報をμCPUI/F7を通して受け取り、シリアル情報とし
て出力することも可能である。これにより、フアクシミ
リ等の信号受信時にデータを記録装置に出力するための
インターフエイスの役割をはたすことができる。
The digital signal processing unit 2 can also receive information from the bus line of the μCPU 8 through the μCPU I / F 7 and output it as serial information. This can serve as an interface for outputting data to the recording device when receiving a signal such as facsimile.

タイマ5はセンサ駆動のくり返し時間を定めたり、セン
サからのイメージ信号のうち有効部分を切り出したりす
るためのタイミング信号等を発生する。
The timer 5 generates a timing signal or the like for determining a repeating time for driving the sensor and for cutting out an effective portion of an image signal from the sensor.

シーケンサ6はこのプロセツサ全体を動作させるための
タイミング信号等を発生する。
The sequencer 6 generates a timing signal for operating the entire processor.

第2図は第1図に示したLSI10のブロツク構成図をより
詳細に記した一実施例である。
FIG. 2 is an embodiment in which the block diagram of the LSI 10 shown in FIG. 1 is described in more detail.

11はサンプルホールド回路、12はピークホールド回路、
13はA/D・D/A変換回路、14は差分変復調回路、15はRA
M、16はA/D変換回路の各回路ブロツクで、これらはアナ
ログ信号処理部1に相当する。21は主走査線密度変換回
路、22はアドレスカウンタ、23はビデオバスバツフア、
24は副走査線密度変換回路、25は線密度判定回路、26は
シリアル出力回路、27はラツチ回路の各回路ブロツク
で、これらはデイジタル信号処理部2に相当する。31は
RAMで歪特性信号を記憶する。71はコントローラ、72は
システムバスバツフア、73はレジスタで、これらはμCP
UI/F7を構成する。91はμCPU8のコントロールバス、92
はデータバスである。93はシステムバスでシステムバス
バツフアを通してデータバス92に接続されている。94は
ビデオバスである。
11 is a sample hold circuit, 12 is a peak hold circuit,
13 is an A / D / D / A conversion circuit, 14 is a differential modulation / demodulation circuit, and 15 is RA
M and 16 are circuit blocks of the A / D conversion circuit, which correspond to the analog signal processing unit 1. 21 is a main scanning line density conversion circuit, 22 is an address counter, 23 is a video bus buffer,
Reference numeral 24 is a sub-scanning line density conversion circuit, 25 is a line density determination circuit, 26 is a serial output circuit, and 27 is each circuit block of a latch circuit, which correspond to the digital signal processing unit 2. 31 is
The distortion characteristic signal is stored in RAM. 71 is a controller, 72 is a system bus buffer, and 73 is a register.
Configure UI / F7. 91 is the control bus of μCPU8, 92
Is a data bus. A system bus 93 is connected to the data bus 92 through a system bus buffer. 94 is a video bus.

第3図は第2図に示す各ブロツクに関する動作タイムチ
ヤートである。第3図を参照して第2図に示すプロセツ
サ10の動作を説明する。
FIG. 3 is an operation time chart for each block shown in FIG. The operation of the processor 10 shown in FIG. 2 will be described with reference to FIG.

本発明に係る画像信号処理プロセッサは、外部接続され
たμCPU8のプログラムをμCPUI/F7の内部のレジスタ73
にデータとして書き込むことにより、上記プロセッサの
動作モードが定められ、かつ、上部プロセッサの所要の
動作の開始及び停止等の機能が達成される。本プロセツ
サ10の動作の一例を以下に述べる。
The image signal processor according to the present invention stores the program of the externally connected μCPU8 in the internal register 73 of the μCPU I / F7.
By writing the data as data to the processor, the operation mode of the processor is determined, and functions such as start and stop of required operations of the upper processor are achieved. An example of the operation of the processor 10 will be described below.

まず、μCPU8はレジスタやカウンタなどをリセツト(セ
ツト)するために、リセツト信号(RESET)を本プロセ
ツサ10に入力する。その後コントローラ71を通して、レ
ジスタ73を設定し本プロセツサの動作モードを決める。
次に、同じレジスタ73の中にあるワークイネーブルレジ
スタを書き換える。即ちプロセツサイネーブル信号(PR
CE)を立てることによつて、本プロセツサ10はすでに定
められたモードの動作を開始する。この時、まずセンサ
I/F4からセンサ駆動パルスが始めて発生する。最初に入
力されるイメージ信号は通常正しい読み取りデータには
なり得ない。複数回センサを駆動した後、レジスタ73に
あるピークホールドイネーブル信号(PEAKE)を立て
る。これによりピークホールド回路12の動作を開始し、
イメージ信号の白の最大値(第3図のタイムチヤートで
は最少値;センサからのイメージ信号は白信号が下側に
出力する。)を検出する。なお、サンプルホールド回路
11はPRCE信号が出力された時点で動作を開始する。次
に、1ラインに渡つて白の情報を読み取り、この白のイ
メージ情報に含まれる信号歪量をRAM15に記憶する。こ
のための信号歪記憶指令信号(WCOM)はレジスタ73を書
き換えることによつて立てる。
First, the μCPU 8 inputs a reset signal (RESET) to the processor 10 in order to reset registers and counters. After that, the register 73 is set through the controller 71 to determine the operation mode of this processor.
Next, the work enable register in the same register 73 is rewritten. That is, the processor enable signal (PR
By setting CE), the processor 10 starts the operation in the already defined mode. At this time, first the sensor
The sensor drive pulse starts from I / F4. The first input image signal usually cannot be correct read data. After driving the sensor a plurality of times, the peak hold enable signal (PEAKE) in the register 73 is set. This starts the operation of the peak hold circuit 12,
The maximum white value of the image signal (minimum value in the time chart of FIG. 3; the white signal of the image signal from the sensor is output to the lower side) is detected. The sample and hold circuit
11 starts operating when the PRCE signal is output. Next, the white information is read over one line, and the signal distortion amount included in the white image information is stored in the RAM 15. The signal distortion storage command signal (WCOM) for this purpose is set by rewriting the register 73.

CCDラインセンサを用いた場合、レンズの周辺光量低
下,光源のむら、あるいはセンサ自体の感度のばらつき
などが原因となつて、上記信号歪は第3図に示すような
形状になることが多い。この信号歪を一般にはシエーデ
イング波形と呼んでいる。
When a CCD line sensor is used, the signal distortion often has a shape as shown in FIG. 3 due to a decrease in the amount of light around the lens, unevenness of the light source, or variation in sensitivity of the sensor itself. This signal distortion is generally called a shading waveform.

WCOM信号が立つと、サンプルホールド回路11の出力であ
るイメージ信号の初期値を検出するため、複数回(本実
施例では23回)のセンサ駆動をくり返す。A/D・D/A変換
回路13で初期値(イメージ信号の始まりの複数画素、本
実施例では8画素,に於ける最少値;黒よりの出力値)
を検出する。次のイメージ信号(24回目)時にA/D・D/A
変換回路13で、追従比較方式によるA/D変換を実行し、
かつ差分変復調回路14で、差分信号に変調する。そし
て、この差分信号をRAM15に記憶する。
When the WCOM signal rises, the sensor drive is repeated a plurality of times (23 times in this embodiment) to detect the initial value of the image signal output from the sample hold circuit 11. Initial value in the A / D / D / A conversion circuit 13 (minimum value in a plurality of pixels at the beginning of the image signal, 8 pixels in this embodiment; output value from black)
To detect. A / D / D / A at the next image signal (24th time)
The conversion circuit 13 executes A / D conversion by the follow-up comparison method,
Further, the differential modulation / demodulation circuit 14 modulates to a differential signal. Then, this difference signal is stored in the RAM 15.

なお、A/D・D/A変換回路13のリフアレンス電圧にピーク
ホールド回路12の出力電圧を用いることによつて、セン
サからのイメージ信号の出力振幅のばらつきに対する補
正を行なう。
By using the output voltage of the peak hold circuit 12 as the reference voltage of the A / D / D / A conversion circuit 13, the variation in the output amplitude of the image signal from the sensor is corrected.

また、イメージ信号の1画素ごとの感度を補正するモー
ドを指定するワークイネーブルレジスタ(表8に示すレ
ジスタの1つ)の第0ビットである各画素補正感度補正
モード指定ビット(AADJ)に1が設定されている場合、
イメージ信号の25回目に、1画素ごとの歪信号をアナロ
グ信号処理部1で作成し、これをビデオバスを通してRA
M31に記憶する。RAM31は本LSIプロセツサ10の外部に接
続する。
In addition, each pixel correction sensitivity correction mode specification bit (AADJ), which is the 0th bit of the work enable register (one of the registers shown in Table 8) that specifies the mode for correcting the sensitivity of the image signal for each pixel, is set to 1. If set,
At the 25th time of the image signal, a distortion signal for each pixel is created by the analog signal processing unit 1, and this is RA through the video bus.
Store in M31. The RAM 31 is connected to the outside of this LSI processor 10.

その後画像情報を含んだイメージ信号がセンサより入力
すると、このイメージ信号はサンプルホールド回路11で
波形整形され、ピークホールド回路12でピーク値が検出
される。このピーク値がA/D・D/A変換回路13のリフアレ
ンス電圧とされる。RAM15から読み出された信号は差分
変復調回路14で復調され、A/D・D/A変換回路13でD/A変
換されて、シエーデイング波形信号を再生する。再生さ
れたシエーデイング波形信号はA/D変換回路16のリフア
レンス電圧として入力される。この結果、A/D変換回路1
6から歪のないデイジタル信号を出力することができ
る。
After that, when an image signal including image information is input from the sensor, the waveform of the image signal is shaped by the sample hold circuit 11, and the peak value is detected by the peak hold circuit 12. This peak value is used as the reference voltage of the A / D / D / A conversion circuit 13. The signal read from the RAM 15 is demodulated by the differential modulation / demodulation circuit 14 and D / A converted by the A / D / D / A conversion circuit 13 to reproduce the shaded waveform signal. The reproduced shading waveform signal is input as the reference voltage of the A / D conversion circuit 16. As a result, the A / D conversion circuit 1
6 can output a digital signal without distortion.

なおイメージ信号の1画素ごとの感度補正を実行する場
合も、センサからのイメージ信号と同期してRAM31を読
み出し、その出力をA/D・D/A変換回路13でD/A変換し、
各画素ごとの歪を再生する。A/D変換回路16のリフアレ
ンス電圧に各画素ごとの歪を入力することによつて補正
を行なう。
Even when the sensitivity correction for each pixel of the image signal is executed, the RAM 31 is read in synchronization with the image signal from the sensor, and the output is D / A converted by the A / D / D / A conversion circuit 13.
Reproduce the distortion for each pixel. Correction is performed by inputting distortion for each pixel to the reference voltage of the A / D conversion circuit 16.

感度補正したデイジタルのイメージ信号は、デイジタル
信号処理部2に入力され、上記デイジタルイメージ信号
に同期して信号処理を施され、μCPUI/F7のシステムバ
スバツフア72を介してμCPU8に出力される。また、シリ
アル出力回路26でシリアル信号に変換されて本プロセツ
サ10の外部に出力される。
The sensitivity-corrected digital image signal is input to the digital signal processing unit 2, subjected to signal processing in synchronization with the digital image signal, and output to the μCPU 8 via the system bus buffer 72 of the μCPU I / F 7. The serial output circuit 26 converts the serial signal into a serial signal and outputs the serial signal to the outside of the processor 10.

本プロセツサ10において、A/D変換回路16はその出力が
多値(4ビツトのバイナリ)のモードと2値のモードに
区分される。前記のデイザ法による中間調情報の出力
は、2値のモードに含まれる。
In the processor 10, the output of the A / D conversion circuit 16 is divided into a multi-value (4-bit binary) mode and a binary mode. The output of the halftone information by the dither method is included in the binary mode.

多値のモードでは4ビツトのバイナリ信号を2画素分ま
とめて8ビツトにし、ラインメモリ3に出力することが
できる。この時センサの1画素ごとの補正した情報を、
ラインメモリ3に出力することも可能である。
In the multi-valued mode, a 4-bit binary signal for 2 pixels can be collected into 8 bits and output to the line memory 3. At this time, the corrected information for each pixel of the sensor is
It is also possible to output to the line memory 3.

2値のモードでは、その出力を主走査線密度変換回路21
に入力し、レジスタ73の中に定められた動作で線密度変
換を実行し、ビデオバスバツフア23を通してラインメモ
リ3に記憶する。この時、ラインメモリ3のアドレス信
号を本プロセツサ10内のアドレスカウンタ22で発生す
る。主走査線密度変換回路21から出力される現ラインの
2値データと同期してラインメモリ3から読み出された
前ライン及び前々ラインの2値データを副走査線密度変
換回路24に入力する。副走査線密度変換回路24はレジス
タ73からの指示に従つて線密度変換動作を実行する。そ
の結果はシステムバスバツフア72を通してμCPU8に出力
される。
In the binary mode, the output is output to the main scanning line density conversion circuit 21.
To the line memory 3 through the video bus buffer 23 to perform the linear density conversion by the operation defined in the register 73. At this time, the address signal of the line memory 3 is generated by the address counter 22 in the processor 10. Binary data of the previous line and the line before two read from the line memory 3 in synchronization with the binary data of the current line output from the main scanning line density conversion circuit 21 are input to the sub scanning line density conversion circuit 24. . The sub-scanning line density conversion circuit 24 executes the line density conversion operation according to the instruction from the register 73. The result is output to the μCPU 8 through the system bus buffer 72.

タイマ5は、センサ駆動の周期や、本プロセツサ10から
出力するデイジタルイメージ信号の有効部分の切り出し
制御を行なう。またシーケンサ6は、これまで述べてき
た動作を実行するのに必要なタイミング信号などを発生
する。
The timer 5 controls the sensor driving cycle and the clipping of the effective portion of the digital image signal output from the processor 10. The sequencer 6 also generates timing signals and the like necessary for executing the operations described so far.

以下、第2図の回路ブロツクについて詳細に説明する。The circuit block of FIG. 2 will be described in detail below.

第4図はサンプルホールド回路11の回路図の概要であ
る。第5図は第4図の各部のタイムチヤートである。表
1はレジスタ73から第4図に示すサンプルホールド回路
11の各回路へ入力する信号に関するレジスタ割付けをま
とめたものである。110はデコーダTrC1,TrC2,TrS1,Tr
S2,TrS,TrC,TrI1,TrI2,TrIOはMOSトランジスタである。
実際のLSIではC−MOS(コンプリメンタリMOS)を用い
ているが、図示を簡単にするため単一のMOSで代表させ
ている。ゲート入力がハイレベルのとき上記MOSトラン
ジスタはオン状態となるような正論理である。ANDS1,AN
DS2,ANDC1,ANDC2はアンドゲート、IN1はインバータ、OP
−Sはオペアンプ、C1,C2,C3はコンデンサである。イメ
ージ信号1(Image Sig.1)とイメージ信号2(Image S
ig.2)はセンサからの入力信号、VBLは黒レベルを示す
直流電圧で、外部より入力する。イメージ信号出力(Im
age Sig.0)はサンプルホールドした出力信号である。
FIG. 4 is a schematic circuit diagram of the sample hold circuit 11. FIG. 5 is a time chart of each part of FIG. Table 1 shows the sample hold circuit from register 73 to FIG.
This is a summary of the register allocation for signals input to each of the 11 circuits. 110 is a decoder TrC 1 , TrC 2 , TrS 1 ,, Tr
S 2 , TrS, TrC, TrI 1 , TrI 2 , and TrIO are MOS transistors.
Although an actual LSI uses a C-MOS (complementary MOS), it is represented by a single MOS for simplicity of illustration. The positive logic is such that the MOS transistor is turned on when the gate input is at a high level. ANDS1, AN
DS2, ANDC1, ANDC2 are AND gates, IN1 is an inverter, OP
-S is an operational amplifier, and C 1 , C 2 and C 3 are capacitors. Image signal 1 (Image Sig. 1) and image signal 2 (Image Sig. 1)
ig.2) is the input signal from the sensor, V BL is the DC voltage that indicates the black level, and is input from the outside. Image signal output (Im
age Sig.0) is the output signal sampled and held.

デコーダ110の出力R111,R112,R113,R114,R115,R116,R11
7,R118,R119の信号によつて本回路の回路動作が定ま
る。これらの信号はレジスタ73の3ビツトのレジスタSM
D0,SMD1,SMD2をデコーダ110でデコードすることによつ
て得ることができる。上記入力信号R111〜119は表1の
ように定められる。サンプルホールド回路11は6つのモ
ードで動作する。第1のモードは1チャネル化された出
力をもつセンサからのイメージ信号をImage Sig.1とし
て入力し、第5図(1)のごとき波形にて、サンプルホ
ールドし、かつ黒レベルをVBLにおさえる。オペアンプO
P−Sの出力をサンプルホールドしたイメージ信号出力
(Image Sig.0)として出力する。なお第5図でφS1
サンプリングパルス、φC1はイメージ信号の黒レベルを
電圧VBLに合致させるためのクランプパルスである。
Output of decoder 110 R111, R112, R113, R114, R115, R116, R11
The circuit operation of this circuit is determined by the signals of 7, R118 and R119. These signals are the 3-bit register SM of register 73.
It can be obtained by decoding D0, SMD1 and SMD2 with the decoder 110. The input signals R111 to 119 are defined as shown in Table 1. The sample hold circuit 11 operates in six modes. The first mode is to input the image signal from the sensor with 1-channel output as Image Sig.1, sample and hold the waveform as shown in Fig. 5 (1), and set the black level to V BL . Hold down. Operational amplifier O
Output the P-S output as an image signal output (Image Sig. 0) that is sampled and held. In FIG. 5, φ S1 is a sampling pulse, and φ C1 is a clamp pulse for matching the black level of the image signal with the voltage V BL .

第2のモードは第1のモードと同様に動作させるが、MO
SトランジスタTrIOをハイ・インピーダンスにして、サ
ンプルホールドされた信号をイメージ信号出力(Image
Sig.0)として出力しない。
The second mode operates the same as the first mode, but MO
The S-transistor TrIO is set to high impedance and the sample-and-hold signal is output as an image signal (Image
Sig.0) is not output.

第3のモードは、2チヤンネルの出力センサ出力をImag
e Sig.1,2として入力し、第5図(2)のごときタイミ
ングで、サンプルホールドと黒レベルクランプを実行す
る。φS2はサンプリングパルス、φC2はクランプパルス
である。このときサンプルホールド信号はImage Sig.0
に出力される。
In the third mode, the output sensor output of 2 channels is Imag
Input as e Sig.1,2 and execute sample hold and black level clamp at the timing as shown in Fig. 5 (2). φ S2 is a sampling pulse, and φ C2 is a clamp pulse. At this time, the sample hold signal is Image Sig.0.
Is output to.

第4のモードは第3のモードと同様であるが、サンプル
ホールドしたイメージ信号(Image Sig.0)を出力しな
い。
The fourth mode is similar to the third mode, but the sampled and held image signal (Image Sig. 0) is not output.

第5のモードは外部回路でサンプルホールドしたイメー
ジ信号をイメージ信号1の端子からオペアンプOP−Sに
入力させるモードで、Image Sig.2の端子から外部回路
にサンプリングパルスφを与え、Image Sig.0の端子
から外部回路にクランプパルスφを与える。φは第
5図(1)のφS1、φは同図(1)のφC1と同一信号
である。
The fifth mode is a mode in which the image signal sampled and held by the external circuit is input to the operational amplifier OP-S from the terminal of the image signal 1, and the sampling pulse φ S is given to the external circuit from the terminal of Image Sig. A clamp pulse φ C is applied to the external circuit from the 0 terminal. φ S is the same signal as φ S1 in FIG. 5 (1), and φ C is the same signal as φ C1 in FIG. 5 (1).

第6のモードは第5のモードと同じようにφSを出
力し、Image Sig.1のイメージ信号をそのままイメージ
信号(Image Sig.)として、本プロセツサ10の内部に供
給するモードである。
The sixth mode is a mode in which φ S and φ C are output similarly to the fifth mode, and the image signal of Image Sig.1 is directly supplied to the inside of the processor 10 as an image signal (Image Sig.). is there.

第6図はピークホールド回路12の詳細な回路ブロツクの
一例である。120はカウンタ、121はデコーダ、122はバ
ススイツチ、123はデイジタルコンパレータ、ANP1〜3
はアンドゲート、INP1〜3はインバータ、TrPO,TrPP,Tr
PI及びTrP0〜n(本実施例ではn=255)はMOSトランジ
スタで正論理で記述する。COMPPはアナログコンパレー
タ、OP−2はオペアンプ、R−Pは抵抗ストリングであ
る。
FIG. 6 is an example of a detailed circuit block of the peak hold circuit 12. 120 is a counter, 121 is a decoder, 122 is a bus switch, 123 is a digital comparator, and ANP1 to 3
Is an AND gate, INP1 to 3 are inverters, TrPO, TrPP, Tr
PI and TrP0 to n (n = 255 in this embodiment) are MOS transistors and are described in positive logic. COMPP is an analog comparator, OP-2 is an operational amplifier, and RP is a resistor string.

第7図は第6図に示すピークホールド回路12の動作を説
明するためのタイムチヤートである。センサスタート信
号φTGに同期してイメージ信号(Image Sig.0)が入力
する。この時はカウンタ120がリセツトされているとす
れば、デコーダ121はMOSトランジスタTrPOを選択する。
従つてオペアンプOP−2の出力PEAKはV0ボルトを示す。
(但し、レジスタ73からの入力信号APEAKEはロウレベル
とする。)次に、タイマ5からの信号PAPWがハイレベル
になると、アナログコンパレータCOMPPの出力信号が反
転するまで、カウンタ120はUPモードで駆動される。そ
の結果、イメージ信号(Image Sig.0)のピーク値(白
ピーク)がオペアンプOP−2の出力PEAKに得られる。
(但し、レジスタ73の出力PEAKEはロウレベル)センサ
スタート信号φTGがダウンクロツク(DOWNCLK)に入力
され、ピーク値が1抵抗ストリング分だけ下がる。
FIG. 7 is a time chart for explaining the operation of the peak hold circuit 12 shown in FIG. The image signal (Image Sig. 0) is input in synchronization with the sensor start signal φ TG . At this time, assuming that the counter 120 is reset, the decoder 121 selects the MOS transistor TrPO.
Therefore, the output PEAK of the operational amplifier OP-2 shows V 0 volt.
(However, the input signal APEAKE from the register 73 is at low level.) Next, when the signal PAPW from the timer 5 goes high, the counter 120 is driven in UP mode until the output signal of the analog comparator COMPP is inverted. It As a result, the peak value (white peak) of the image signal (Image Sig.0) is obtained at the output PEAK of the operational amplifier OP-2.
(However, the output PEAKE of the register 73 is low level) The sensor start signal φ TG is input to the down clock (DOWNCLK), and the peak value is lowered by one resistor string.

抵抗ストリングR−Pは次式で表わされるように各ノー
ドの電圧を定めている。
The resistor string R-P defines the voltage at each node as represented by the following equation.

即ちV0〜Vnまでが等比級数となる。これは、イメージ信
号ピーク値の大小にかかわらず、一定の割合の量子化誤
差にするためである。
That is, V 0 to Vn are geometric series. This is because the quantization error has a constant rate regardless of the magnitude of the peak value of the image signal.

本LSI10では、VBL電圧は外部からの入力信号で最大3.5V
まで許容する。今VBL=3.5VとするとV0=3.4V,V255=1.
5Vに設定される。この間を(1)式に従つて区分する
と、イメージ信号のピーク値出力PEAKの量子化誤差は1.
1%以下になる。
In this LSI10, the V BL voltage is 3.5 V maximum with an external input signal.
Allow up to. If V BL = 3.5V, V 0 = 3.4V, V 255 = 1.
Set to 5V. If this interval is divided according to the equation (1), the quantization error of the peak value output PEAK of the image signal is 1.
It will be less than 1%.

カウンタ120の出力信号はバススイツチ122を通して、シ
ステムバス93に与えられる。これによりμCPU8はカウン
タ120の出力信号を読み取ることができる。またμCPU8
からレジスタ73にPEAK0〜7の信号を書き込み、この値
をカウンタ120にロードすることによつて、ピーク値出
力PEAKを一定値に設定することもできる。
The output signal of the counter 120 is given to the system bus 93 through the bus switch 122. This allows the μCPU 8 to read the output signal of the counter 120. Also μCPU8
It is also possible to set the peak value output PEAK to a constant value by writing the signals of PEAK0 to PEAK7 to the register 73 and loading this value into the counter 120.

レジスタ73に書き込まれたPDM2〜7の値とカウンタ120
のQ2〜Q7の値をデイジタルコンパレータ123で比較し、
カウンタ123の出力がPDM2〜7の値より小さくなつた
時、カウンタ123のインクリメントを止めることができ
る。即ち、PDM2〜7の値よりピーク値出力PEAKが下がら
ないようにすることができる。これは、黒原稿を読み取
る場合、ピーク値出力PEAKが黒レベルまで追従してしま
うのを防ぎ、黒情報を黒として検出するために必要であ
る。
Value of PDM2 to 7 written in register 73 and counter 120
The values of Q 2 to Q 7 of are compared by the digital comparator 123,
When the output of the counter 123 becomes smaller than the value of PDM2 to 7, the increment of the counter 123 can be stopped. That is, it is possible to prevent the peak value output PEAK from falling below the values of PDM2 to 7. This is necessary to prevent the peak value output PEAK from following up to the black level when reading a black original, and to detect black information as black.

レジスタ73の出力PEAKEをハイレベルにすると、カウン
タ120の動作が止まり、ピーク値出力PEAKは一定の値を
保持する。またAPEAKEをハイレベルにすると、抵抗スト
リングR−Pの選ばれた電圧がPEAKOに出力されると同
時にPEAKIに入力した電圧がPEAK信号としてA/D・D/A変
換回路13に出力される。
When the output PEAKE of the register 73 is set to the high level, the operation of the counter 120 is stopped and the peak value output PEAK holds a constant value. When APEAKE is set to high level, the selected voltage of the resistor string R-P is output to PEAKO, and at the same time, the voltage input to PEAKI is output to the A / D / D / A conversion circuit 13 as a PEAK signal.

デイジタルコンパレータ123の出力FLEXGはレジスタ73に
入力されイメージ信号のピーク値がPDM2〜7で設定した
値より低いか高いかをμCPU8に知らせることができる。
この機能を用いると光源の輝度低下などをμCPU8で判断
することができる。
The output FLEXG of the digital comparator 123 is input to the register 73 and can inform the μCPU 8 whether the peak value of the image signal is lower or higher than the value set by PDM2 to 7.
If this function is used, the μCPU8 can judge the decrease in the brightness of the light source.

第8図はA/D・D/A変換回路13の詳細な回路ブロツクの一
例である。
FIG. 8 is an example of a detailed circuit block of the A / D / D / A conversion circuit 13.

130はカウンタ、131は加算回路、132,133はデコーダ、1
34は初期値レジスタである。この初期値レジスタ134
は、表8のレジスタ名称欄に示される初期値設定レジス
タFD0乃至FD7の出力をラッチする。135はバススイツ
チ、R−Aは抵抗ストリング、TrA0〜n′,TrAH,TrAS,T
rAAはMOSトランジスタ、COMPAはコンパレータ、OP3〜4
はオペアンプである。
130 is a counter, 131 is an adder circuit, 132 and 133 are decoders, 1
34 is an initial value register. This initial value register 134
Latches the outputs of the initial value setting registers FD0 to FD7 shown in the register name column of Table 8. 135 is a bus switch, RA is a resistor string, TrA0 to n ', TrAH, TrAS, T
rAA is a MOS transistor, COMPA is a comparator, OP3-4
Is an operational amplifier.

第9図は第8図に示すA/D・D/A変換回路13の動作を説明
するためのタイムチヤートである。
FIG. 9 is a time chart for explaining the operation of the A / D / D / A conversion circuit 13 shown in FIG.

A/D・D/A変換回路13がA/D変換動作をするのは第3図で
説明したように、シエーデイング波形書き込み指令WCOM
が立つた時である。その時、まずタイマ5よりSMSK信号
を入力し、SMSKから8画素分のイメージ信号の立上りを
初期値として検出する。この動作はカウンタ130に8画
素分のゲート信号(シーケンサ6にて作る。)を与え第
6図のピークホールドと同様な動作を実行すればよい。
この時のカウンタ130の出力を初期値レジスタ134にラツ
チする。初期値レジスタ134にはシステムパス93を通し
て、μCPU8から書き込むこともできるし、読み出すこと
も可能である。
As described in FIG. 3, the A / D / D / A conversion circuit 13 performs the A / D conversion operation, as shown in FIG.
It's time to stand. At that time, first, the SMSK signal is input from the timer 5, and the rising edge of the image signal for 8 pixels from the SMSK is detected as an initial value. This operation may be performed by giving a gate signal for eight pixels (created by the sequencer 6) to the counter 130 and performing the same operation as the peak hold in FIG.
The output of the counter 130 at this time is latched in the initial value register 134. The initial value register 134 can be written and read from the μCPU 8 through the system path 93.

初期値が定まると、その値がデコーダ132に出力され
る。MOSトランジスタTrA0〜TrAn′のどれか1つが選択
されてオン状態となり、その出力電圧とイメージ信号Im
age Sig.0がコンパレータCOMPAで比較される。コンパレ
ータCOMPAの出力に応じてカウンタ130がインクリメント
またはデクリメントをくり返し、オペアンプOP−3とOP
−4の出力にはシエーデイング波形が出力される。即
ち、このA/D変換動作はいわゆる追従比較形A/D変換方式
と呼ばれるものである。コンパレータCOMPAの出力が差
分変復調回路14に入力される。
When the initial value is determined, that value is output to the decoder 132. One of the MOS transistors TrA0 to TrAn 'is selected and turned on, and its output voltage and image signal Im
age Sig.0 is compared by the comparator COMPA. The counter 130 repeatedly increments or decrements according to the output of the comparator COMPA, and the operational amplifiers OP-3 and OP-3
The shaded waveform is output to the output of -4. That is, this A / D conversion operation is a so-called follow-up comparison type A / D conversion method. The output of the comparator COMPA is input to the differential modulation / demodulation circuit 14.

次に、イメージ信号Image Sig.0が入力すると、これに
同期してA/D・D/A変換回路13はD/A変換動作を行う。差
分変復調回路14から復調された復調信号がカウンタ130
に入力されると、書き込み時にコンパレータCOMPAの出
力で制御されたと同様の動作をする。その結果、ほぼシ
エーデイング波形をオペアンプOP−3とOP−4の出力信
号DAO,OP4−0として再生することができる。
Next, when the image signal Image Sig.0 is input, the A / D / D / A conversion circuit 13 performs a D / A conversion operation in synchronization with this. The demodulated signal demodulated from the differential modulation / demodulation circuit 14 is the counter 130.
When input to, the same operation as controlled by the output of the comparator COMPA is performed at the time of writing. As a result, almost a shaded waveform can be reproduced as the output signals DAO and OP4-0 of the operational amplifiers OP-3 and OP-4.

抵抗ストリングR−Aの各ノードの電圧V0〜Vn′(n′
=127)は抵抗ストリングR−Pで求めた(1)式と同
様に表わされ、等比級数になつている。また、抵抗スト
リングR−Aの両端にはピークホールド回路12の出力信
号PEAKとVBLが与えられ、PEAK−V0とV0−VBLの電圧比は
6:4に設計されている。即ちシエーデイング波形はピー
ク値に対して60%まで追従して、補正することが可能で
ある。
The voltages V 0 to Vn ′ (n ′ at each node of the resistor string RA)
= 127) is expressed in the same manner as the equation (1) obtained by the resistor string R-P, and is a geometric series. The voltage ratio of the resistor string R-A across the output signals PEAK and V BL of the peak hold circuit 12 is given to the, PEAK-V 0 and V 0 -V BL is
Designed for 6: 4. That is, the shading waveform can be corrected by following the peak value up to 60%.

レジスタ73からの信号ADMODE0,1によつて、デコーダ133
の出力が定まり、その結果、このA/D・D/A変換回路13は
表2に示す3つのモードで動作する。
The decoder 133 receives the signal ADMODE0,1 from the register 73.
Output is determined, and as a result, the A / D / D / A conversion circuit 13 operates in the three modes shown in Table 2.

第1と第3のモードでは第8図のトランジスタTrAAがオ
ン状態にある。その結果、オペアンプOP−4の出力OP4
−0には、再生されたシエーデイング波形が出力され
る。
In the first and third modes, the transistor TrAA shown in FIG. 8 is on. As a result, the output OP4 of the operational amplifier OP-4
The reproduced shading waveform is output to -0.

第2のモードではトランジスタTrASがオンする。第4の
モードではトランジスタTrAHがオンし、それぞれ入力端
子SLICE,HTONEからの入力信号がオペアンプOP4に入力さ
れ、インピーダンス変換された信号がOP4−0に出力さ
れる。出力OP4−0の信号はA/D変換回路16に入力され
る。
In the second mode, the transistor TrAS turns on. In the fourth mode, the transistor TrAH is turned on, the input signals from the input terminals SLICE and HTONE are input to the operational amplifier OP4, and the impedance-converted signal is output to OP4-0. The signal of the output OP4-0 is input to the A / D conversion circuit 16.

第1と第3のモードは、A/D・D/A変換回路13では全く同
一の動きをするが、A/D変換回路16において異なつたモ
ードになる。
The first and third modes have exactly the same movement in the A / D / D / A conversion circuit 13, but are different modes in the A / D conversion circuit 16.

第10図は差分変復調回路14及びRAM15の回路ブロツクの
一例である。
FIG. 10 is an example of a circuit block of the differential modulation / demodulation circuit 14 and the RAM 15.

141は差分変調回路、142は差分復調回路、143はバスス
イツチである。
Reference numeral 141 is a differential modulation circuit, 142 is a differential demodulation circuit, and 143 is a bus switch.

第3図のタイミングチヤートにあるシエーデイング波形
記憶時には、A/D・D/A変換回路13のコンパレータCOMPA
の出力を入力し、差分変調回路141を動作させ、差分デ
ータをバイナリ信号としてRAM15に記憶する。差分変調
回路141はアツプダウンカウンタを用いて構成される。
上記シエーデイング波形記憶時以外はRAM15からのデー
タを差分復調回路142に受け、差分値をほぼ直線で近似
するような復調信号を発生する。
When storing the shaded waveform in the timing chart of FIG. 3, the comparator COMPA of the A / D / D / A conversion circuit 13 is used.
The differential modulation circuit 141 is operated, the differential data is stored in the RAM 15 as a binary signal. The differential modulation circuit 141 is configured by using an up-down counter.
The data from the RAM 15 is received by the differential demodulation circuit 142 except when the shading waveform is stored, and a demodulation signal that approximates the differential value with a substantially straight line is generated.

RAM15の内容はバススイツチ143、システムバス93、バス
バッファ72、表8のレジスタ名称欄に示されるシェーデ
ィング波形レジスタSD0乃至SD7をそれぞれ通してμCPU8
に知らせることが出来る。また、μCPU8から表8のレジ
スタ名称欄に示すシェーディング波形レジスタSD0乃至S
D7に書き込むことにより、RAM15にシエーデイングデー
タを書き込むことも可能である。
The contents of the RAM 15 are passed through the bus switch 143, the system bus 93, the bus buffer 72, and the shading waveform registers SD0 to SD7 shown in the register name column of Table 8, respectively, and the μCPU8
Can be informed. Also, the shading waveform registers SD0 to S shown in the register name column of Table 8 from the μCPU8.
By writing to D7, it is possible to write the shading data to RAM15.

第11図はA/D変換回路16の詳細な回路ブロツクの一例で
ある。
FIG. 11 is an example of a detailed circuit block of the A / D conversion circuit 16.

161はデコーダ、162はバイナリエンコーダ、163は4−
8ビツト変換デコーダ、164はセレクタ、165はデイザパ
ターン用RAM、166はデコーダ、167はγ補正用MOSトラン
ジスタ群、168は切換スイツチ、OP5はオペアンプ、COMP
AD0〜nはコンパレータ(本LSIではn=15)、R−AD
1,2は抵抗ストリングである。TrAD0〜nはMOSトランジ
スタである。
161 is a decoder, 162 is a binary encoder, 163 is 4-
8-bit conversion decoder, 164 selector, 165 dither pattern RAM, 166 decoder, 167 γ-correction MOS transistor group, 168 switching switch, OP5 operational amplifier, COMP
AD0- n are comparators (n = 15 in this LSI), R-AD
1 and 2 are resistor strings. TrAD0 to n are MOS transistors.

このA/D変換回路16は並列に接続されたコンパレータCOM
PAD0〜nによりフラツシユタイプのA/D変換を行う。ま
ずA/D変換を行う範囲は次のようにして定める。A/D.D/A
変換回路13のオペアンプOP4の出力OP40と外部からの直
流電圧VDAL(通常VDAL=VBL)を抵抗ストリングR−AD1
で分圧する。分圧値はレジスタ73からの信号DAL0〜3を
デコーダ166でデコードし、TrAD0〜nの1つを選択す
ることによつて得られ、オペアンプOP5でインピーダン
ス変換された出力になる。
This A / D conversion circuit 16 is a comparator COM connected in parallel.
Flash type A / D conversion is performed by PAD 0- n . First, the range for A / D conversion is determined as follows. A / DD / A
The output OP40 of the operational amplifier OP4 of the conversion circuit 13 and the DC voltage V DAL (usually V DAL = V BL ) from the outside are connected to the resistor string R-AD1.
Partial pressure with. The voltage division value is obtained by decoding the signals DAL0 to DAL3 from the register 73 by the decoder 166 and selecting one of the TrAD0 to n , and becomes the output impedance-converted by the operational amplifier OP5.

本LSI10の信号DAL0〜3は4ビツトのバイナリ信号であ
る。以上より抵抗ストリングR−AD2のリフアレンス電
圧はオペアンプOP4の出力OP40とオペアンプOP5の出力OP
50で定められる。
The signals DAL0 to DAL3 of this LSI 10 are 4-bit binary signals. From the above, the reference voltage of the resistor string R-AD2 is the output OP40 of the operational amplifier OP4 and the output OP of the operational amplifier OP5.
Determined by 50.

また、オペアンプOP4,OP5の出力OP40,OP50の電圧をリニ
アに区分してコンパレータCOMPAD0〜nに入力するので
はなく、よりよい画質を得るために、本LSI10では8通
りのγ補正(リニアも含む)ができる。このγ補正の値
はレジスタ73の出力γCONT0〜2をデコーダ161でデコ
ードしてγ補正用MOSトランジスタ群167を制御すること
によつて選択できる。
Further, instead of linearly dividing the voltages of the outputs OP40 and OP50 of the operational amplifiers OP4 and OP5 and inputting them to the comparators COMPAD0 to n , in order to obtain a better image quality, this LSI10 has eight kinds of γ correction (linear Can be included). The value of this γ correction can be selected by decoding the outputs γ CONT 0 to 2 of the register 73 by the decoder 161 and controlling the γ correction MOS transistor group 167.

コンパレータCOMPAD0〜n−1の出力はバイナリエンコ
ーダ162によつて4ビツトのバイナリ信号に変換され、
更に4−8ビツト変換回路163にて4ビツトを2つ並べ
た形の8ビツト信号に変換される。この8ビツト信号は
ビデオバス94に接続される。
The outputs of the comparators COMPAD0- n-1 are converted by the binary encoder 162 into 4-bit binary signals,
Further, the 4-8 bit conversion circuit 163 converts it into an 8 bit signal in which two 4 bits are arranged. This 8-bit signal is connected to the video bus 94.

またレジスタ73からの出力SLICE0〜3とデイザパターン
RM165の出力を選択してセレクタ164に与える切換スイツ
チ168は、レジスタ73の出力ADMODE0と1の組合せによつ
て制御される。この制御は表2のモードと対応し、モー
ド1,2は2値データ、モード3,4はデイザ信号を出力す
る。2値データを出力する場合、4ビツトのSLICE信号
によつてセレクタ164を駆動し、コンパレータCOMPAD
0〜nの出力のうち1つを2値データPDATAとする。デ
イザを出力する場合には、システムバス93を通してμCP
U8から書き込まれたRAM165の内容に応じたスライスレベ
ルでスライスした2値データPDATAを出力することがで
きる。RAM165は4×4のマトリツクスに4ビツトの情報
(計64ビツト)を記憶するものである。RAM165に入力す
る情報により、任意のデイザパターンでイメージ信号を
読み取ることができる。
Also output SLICE0 ~ 3 from register 73 and dither pattern
The switching switch 168 which selects the output of the RM 165 and supplies it to the selector 164 is controlled by the combination of the outputs ADMODE 0 and 1 of the register 73. This control corresponds to the mode shown in Table 2. Modes 1 and 2 output binary data, and modes 3 and 4 output dither signals. When outputting binary data, the selector 164 is driven by the 4-bit SLICE signal, and the comparator COMPAD
One of the outputs of 0 to n is binary data PDATA. To output dither, use μCP via system bus 93
The binary data PDATA sliced at the slice level according to the contents of the RAM 165 written from U8 can be output. The RAM 165 stores 4 bits of information (64 bits in total) in a 4 × 4 matrix. The image signal can be read with an arbitrary dither pattern according to the information input to the RAM 165.

第12図は主走査線密度変換回路21の詳細な回路ブロツク
の一例である。
FIG. 12 is an example of a detailed circuit block of the main scanning line density conversion circuit 21.

線密度変換指令パルス発生回路はm/(m+1)指令発生
回路211と(m−1)/m指令発生回路212から成る。213
はセレクタ、214は線密度演算回路、214A,214B,214Cは
シフトレジスタ、215はセレクタ、216,217はカウンタ、
218はセレクタ、219はシリアルパラレル変換回路であ
る。ANDEはアンドゲートである。
The linear density conversion command pulse generation circuit comprises an m / (m + 1) command generation circuit 211 and a (m-1) / m command generation circuit 212. 213
Is a selector, 214 is a linear density arithmetic circuit, 214A, 214B and 214C are shift registers, 215 is a selector, 216 and 217 are counters,
Reference numeral 218 is a selector, and 219 is a serial-parallel conversion circuit. ANDE is an AND gate.

レジスタ73から、mの値が3ビツトのバイナリ信号m0,m
1,m2としてm/(m+1)指令発生回路211と(m−1)/
m指令発生回路212に与えられる。A/D変換回路16で発生
した2値データPDATAに同期したクロツクCCKの(m+
1)回に対し1回のパルスをm/(m+1)指令発生回路
211で発生する。同様に(m−1)/m指令発生回路212で
はクロツク信号CCKのm回に1回のパルスを発生する。
今、(m+1)回に1回のパルスをN1回、m回に1回の
パルスをN2回くり返したとすれば、(m+1)N1+mN2
回のクロツクパルスCCKの間に(N1+N2)回のパルスが
発生する。このパルスの発生時の2値データPDATAを削
減すれば、次式で表わされる線密度変換(縮少)が行わ
れることになる。
From register 73, the binary signal m0, m whose value of m is 3 bits
As 1, m2, m / (m + 1) command generation circuit 211 and (m-1) /
It is given to the m command generation circuit 212. (M + of clock CCK synchronized with binary data PDATA generated in A / D conversion circuit 16
1) pulse every 1 time m / (m + 1) command generation circuit
It occurs at 211. Similarly, the (m-1) / m command generation circuit 212 generates a pulse once every m times of the clock signal CCK.
Now, assuming that one pulse is repeated (m + 1) times N 1 times and one pulse is repeated m 2 times N 2 times, (m + 1) N 1 + mN 2
(N 1 + N 2 ) pulses are generated during each clock pulse CCK. If the binary data PDATA at the time of generation of this pulse is reduced, the linear density conversion (reduction) represented by the following equation is performed.

次に(m+1)N1+mN2回のクロツクパルスCCKの間に発
生する(N1+N2)回のパルスに同期した2値データPDAT
Aのみを有効データとすれば、縮少率P2は次式になる。
Next, binary data PDAT synchronized with (N 1 + N 2 ) pulses generated during (m + 1) N 1 + mN 2 clock pulses CCK.
If only A is valid data, the reduction rate P 2 is given by the following equation.

逆に、(m+1)N1+mN2回のクロツクパルスCCKの間に
発生する(N1+N2回のパルスCCKの間に発生する(N1+N
2)回のパルスの発生期間に2価データPDATAを増加すれ
ば拡大が可能になる。この拡大率Qは次式になる。
Conversely, (m + 1) N 1 + mN occurs between 2 clock pulses CCK (N 1 + N 2 occurs between pulse CCK (N 1 + N
2 ) Expansion is possible by increasing the bivalent data PDATA during the pulse generation period of 2 times. This enlargement factor Q is given by the following equation.

上記N1+N2の値をレジスタ73のk0〜k3の4ビツトのバイ
ナリ信号で与え、これをカウンタ217のロード信号とす
る。またレジスタ73の信号l0〜l15を例えばN1をハイレ
ベル,N2をロウレベルとしてセレクタ218に入力する。
The value of N 1 + N 2 is given as a 4-bit binary signal of k 0 to k 3 of the register 73, and this is used as the load signal of the counter 217. The signals l 0 to l 15 of the register 73 are input to the selector 218, for example, with N 1 at high level and N 2 at low level.

例えばN1=4,N2=5とすると、k0〜k3に“9"をバイナリ
信号で与える。そしてl0〜8にはl0=0,l1=1,l2=0,
l3=1,l4=0,l5=1,l6=0,l7=1,l8=0(1:ハイレベル
でm/(m+1)のパルス、0:ロウレベルで(m+1)/m
のパルスをセレクタ213で選ぶと仮定する。)を与え
る。これによりl0〜l8の信号がくり返しセレクタ213に
与えられ、m/(m+1)と(m+1)/mの出力パルスが
順次、TMSK信号として得られる。
For example, when N 1 = 4 and N 2 = 5, “9” is given to k 0 to k 3 as a binary signal. And for l 0 to 8 , l 0 = 0, l 1 = 1, l 2 = 0,
l 3 = 1, l 4 = 0, l 5 = 1, l 6 = 0, l 7 = 1, l 8 = 0 (1: m / (m + 1) pulse at high level, 0: (m + 1) at low level / m
It is assumed that the pulse of is selected by the selector 213. )give. As a result, the signals l 0 to l 8 are repeatedly applied to the selector 213, and the output pulses of m / (m + 1) and (m + 1) / m are sequentially obtained as the TMSK signal.

(2),(3),(4)式より の範囲の縮少・拡大が可能である。From equations (2), (3) and (4) It is possible to reduce or expand the range of.

P1とP2はレジスタ73のLDCM信号によつて区分される。P1
とP2の関係はTMSK信号が互いに逆極性になつているにす
ぎない。
P 1 and P 2 are distinguished by the LDCM signal in register 73. P 1
The relation between P 2 and P 2 is only that TMSK signals have opposite polarities.

上記TMSK信号によつて縮少演算回路214とレジスタ214A
〜Cが縮少処理を実行する。レジスタ73で与えられた2
ビツトの信号LDLによつて、表3に示すような演算を実
行しながら2値データPDATAを削減し、縮少(線密度変
換)処理を実行する。2ビツトの信号LDLはA〜Dまで
4ケ設定することができ、演算を順次切換えることも可
能である。
The reduction operation circuit 214 and the register 214A according to the TMSK signal.
~ C executes reduction processing. 2 given in register 73
According to the bit signal LDL, the binary data PDATA is reduced while performing the calculation as shown in Table 3, and the reduction (linear density conversion) process is performed. The 2-bit signal LDL can be set to 4 from A to D, and the calculation can be sequentially switched.

縮少されたデータはシリアル−パラレル変換回路219に
よつて8ビツトの信号に変換されてビデオバス94に出力
される。
The reduced data is converted into an 8-bit signal by the serial-parallel conversion circuit 219 and output to the video bus 94.

(3)式で表わされる拡大率Q1,Q2はTMSK信号をシリア
ル出力回路26に与えることによつて達成できる。但し、
2値データPDATAを拡大して出力することはできない。
拡大に関しては後述する。
The enlargement factors Q 1 and Q 2 expressed by the equation (3) can be achieved by supplying the TMSK signal to the serial output circuit 26. However,
Binary data PDATA cannot be enlarged and output.
Expansion will be described later.

第13図は副走査線密度変換回路24及びビデオバス94まわ
りの回路ブロツクの一例である。
FIG. 13 is an example of a circuit block around the sub-scanning line density conversion circuit 24 and the video bus 94.

240は副走査線密度演算回路、241A〜Cは、8ビツトの
ラツチ回路で、これらは副走査線密度変換回路24を構成
する。94Aはビデオリードバス、94Bはビデオライトバ
ス、941,944,945はセレクタ、942,943はラツチ回路、94
6はバススイツチである。
Reference numeral 240 is a sub-scanning line density calculation circuit, and 241A to C are 8-bit latch circuits, which constitute the sub-scanning line density conversion circuit 24. 94A is a video read bus, 94B is a video write bus, 941,944,945 are selectors, 942,943 are latch circuits, 94
6 is a bus switch.

第13図の回路はレジスタ73のVMODE0,1の2ビツトの信号
により表4に示すような4つのモードで動作する。
The circuit of FIG. 13 operates in four modes as shown in Table 4 by the 2-bit signal of VMODE0,1 of the register 73.

第1のモードはセレクタ944,941及びラツチ回路942によ
つてA/D変換回路16の多値情報、4−8変換回路163の出
力をビデオリードバス94Aに出力する。上記多値情報は
アドレスカウンタ22からのアドレス信号のもとにメモリ
3に書き込まれる。
In the first mode, the selectors 944 and 941 and the latch circuit 942 output the multivalued information of the A / D conversion circuit 16 and the output of the 4-8 conversion circuit 163 to the video read bus 94A. The multi-valued information is written in the memory 3 under the address signal from the address counter 22.

第2のモードでは主走査線密度変換回路21からの2値デ
ータがセレクタ944、ラツチ回路942、セレクタ941を通
して、ビデオリードバス94Aに出力され、同時にラツチ
回路241Cに現ラインのデータとしてラツチされる。ビデ
オリードバス94Aの出力信号はラインメモリ3に記憶さ
れる。そして前ライン及び前々ラインのデータをライン
メモリ3から読み出し、それぞれラツチ回路241Bと241A
にラツチする。演算回路240では8画素の2値データを
同時に演算する。演算回路240はレジスタ73のSSMODE0と
1によつて表5に示す3つの演算を実行し、その結果を
ラツチ回路943に出力する。ラツチ回路943のデータはラ
インメモリ3の前々ラインに記憶される。ラツチ回路24
1Aにラツチされた前々ラインのデータはすでに演算回路
240で演算された結果、これはセレクタ945、バススイツ
チ946を通してシステムバス93に出力される。そしてμC
PU8のデータバス92に読み出すことができる。この第2
のモードでは、センサの各画素ごとの感度を補正するこ
とはできない。
In the second mode, the binary data from the main scanning line density conversion circuit 21 is output to the video read bus 94A through the selector 944, the latch circuit 942, and the selector 941 and simultaneously latched as the current line data to the latch circuit 241C. . The output signal of the video read bus 94A is stored in the line memory 3. Then, the data of the previous line and the data of the previous two lines are read from the line memory 3, and the latch circuits 241B and 241A respectively
Latch on. The arithmetic circuit 240 simultaneously calculates binary data of 8 pixels. The arithmetic circuit 240 executes the three operations shown in Table 5 according to SSMODE0 and 1 of the register 73, and outputs the results to the latch circuit 943. The data of the latch circuit 943 is stored in the line before the line of the line memory 3. Latch circuit 24
The data on the line before the one latched to 1A is already in the arithmetic circuit.
As a result of being calculated by 240, this is output to the system bus 93 through the selector 945 and the bus switch 946. And μC
It can be read to the data bus 92 of PU8. This second
In this mode, the sensitivity of each pixel of the sensor cannot be corrected.

第3のモードは、センサの各画素ごとの歪感度を補正
し、かつ主走査線密度変換回路21を通して、主走査方向
のみ縮少したデータをμCPU8のデータバス92に出力す
る。主走査線密度変換回路21からの2値データをセレク
タ944、ラツチ回路942を通して、セレクタ945に入力す
る。上記2値データをセレクタ945で選び、バススイツ
チ946でシステムバス93に出力する。そしてμCPU8のデ
ータバス92に出力する。
In the third mode, the distortion sensitivity of each pixel of the sensor is corrected, and the reduced data in the main scanning direction is output to the data bus 92 of the μCPU 8 through the main scanning line density conversion circuit 21. Binary data from the main scanning line density conversion circuit 21 is input to the selector 945 through the selector 944 and the latch circuit 942. The binary data is selected by the selector 945 and output to the system bus 93 by the bus switch 946. Then, the data is output to the data bus 92 of the μCPU8.

第4のモードは主走査線密度変換回路21で縮少されない
2値データをセレクタ944、ラツチ回路942、セレクタ94
1を通して、ビデオリードバス94A及びラツチ回路241Cに
与える。そして副走査線密度演算されたデータをセレク
タ945、バススイツチ946、バスバツフア72を通して、デ
ータバス92に出力する。この時、センサの各画素ごとの
感度補正は可能である。
In the fourth mode, binary data that is not reduced by the main scanning line density conversion circuit 21 is selected by a selector 944, a latch circuit 942, and a selector 94.
1 to the video read bus 94A and the latch circuit 241C. Then, the data subjected to the sub-scanning line density calculation is output to the data bus 92 through the selector 945, the bus switch 946, and the bus buffer 72. At this time, the sensitivity of each pixel of the sensor can be corrected.

以上、第3と第4のモードは本LSI10への入力クロツク
信号CLKに対し1/4の周波数でセンサを駆動する場合にの
み動作可能である。後述するがセンサ駆動には上記クロ
ツク信号CLKの1/2と1/4の2通りがある。
As described above, the third and fourth modes can operate only when the sensor is driven at a frequency of 1/4 with respect to the input clock signal CLK to the LSI 10. As will be described later, there are two ways to drive the sensor: 1/2 and 1/4 of the clock signal CLK.

アドレスカウンタ22はラインメモリ3とRAM31のアドレ
ス信号を発生する。
The address counter 22 generates an address signal for the line memory 3 and the RAM 31.

第14図はシリアル出力回路26の詳細な回路ブロツクの一
例である。
FIG. 14 is an example of a detailed circuit block of the serial output circuit 26.

261は8ビツトのパラレルインシリアルアウトのシフト
レジスタ、262はカウンタ、263,264はセレクタである。
261 is an 8-bit parallel-in / serial-out shift register, 262 is a counter, and 263 and 264 are selectors.

まずシリアル出力のモードとしては、センサにて読み取
つたデータを、センサ駆動周波数に同期した2値データ
をSDATAとして出力するモードと、μCPU8のデータバス9
2からのデータ(通常、フアクシミリの場合は受信信
号)を出力するモードとがある。
First, as the serial output mode, the data read by the sensor is output as binary data that is synchronized with the sensor drive frequency as SDATA, and the μCPU8 data bus 9
There is a mode to output the data from 2 (usually the reception signal in the case of facsimile).

上記のモードを区別するのは、レジスタ73の出力R/Tの
信号である。前者のモードでは2値データPDATA及びク
ロツク信号TCLKが主走査線密度変換回路21から入力さ
れ、セレクタ264及び263を通つて、それぞれデータSDAT
A及びクロツク信号SCLKになる。この時のデータSDATAは
主走査線密度変換回路21にて縮少されたデータを出力す
ることができるが、拡大は不可能である。
What distinguishes the above modes is the signal at the output R / T of the register 73. In the former mode, the binary data PDATA and the clock signal TCLK are input from the main scanning line density conversion circuit 21, pass through the selectors 264 and 263, and output as the data SDAT.
A and clock signal SCLK. The data SDATA at this time can output the data reduced in the main scanning line density conversion circuit 21, but cannot be expanded.

後者のモードでは、システムバス93からシフトレジスタ
261に書き込まれたデータが、外部からの入力クロツク
信号RCLKIに同期したクロツク信号SCLKと共にデータ出
力SDATAとなる。セレクタ263はクロツク信号RCLKIを選
びカウンタ262に出力する。カウンタ262は主走査線密度
変換回路21からのTMSK信号を受けると動作を停止し、か
つシフトレジスタ261へのクロツクパルスSFCLKも停止す
る。この時クロツク信号SCLKの出力は停止しない。こう
することによつて、同一のデータを複数回SDATA信号と
して出力することができる。これが拡大データである。
カウンタ262がインクリメントされ、8カウントされる
と、8ビツトのシフトレジスタ261の内容は全てSDATA信
号として出力されたことになる。そこで、μCPU8に対す
るデータ要求信号DREQを立てる。DACK信号を受けると8
ビツトのデータがデータバス92からバスバツフア72を通
してシフトレジスタ261にとり込まれ、同時にカウンタ2
62がリセツトされる。外部からのクロツクRCLKIによつ
て上記動作をくり返す。この動作はいわゆるDMAC(ダイ
レクトメモリアクセスコントローラ)による。
In the latter mode, shift registers from the system bus 93
The data written in 261 becomes the data output SDATA together with the clock signal SCLK synchronized with the external clock signal RCLKI. The selector 263 selects the clock signal RCLKI and outputs it to the counter 262. The counter 262 stops its operation when it receives the TMSK signal from the main scanning line density conversion circuit 21, and also stops the clock pulse SFCLK to the shift register 261. At this time, the output of the clock signal SCLK does not stop. By doing so, the same data can be output as the SDATA signal multiple times. This is the expanded data.
When the counter 262 is incremented and counted eight times, it means that all the contents of the 8-bit shift register 261 are output as the SDATA signal. Therefore, the data request signal DREQ for the μCPU8 is set. 8 when receiving DACK signal
The bit data is taken into the shift register 261 from the data bus 92 through the bus buffer 72, and at the same time the counter 2
62 is reset. The above operation is repeated by an external clock RCLKI. This operation is based on the so-called DMAC (Direct Memory Access Controller).

第15図は線密度判定回路25の回路ブロツクの一例であ
る。
FIG. 15 is an example of a circuit block of the linear density determination circuit 25.

251B,251Cはパラレルインシリアルアウトのシフトレジ
スタ、252は変化点検出回路、253はダウンパルス発生回
路、254はカウンタ、256は判定数発生回路、257はデイ
ジタルコンパレータである。
251B and 251C are parallel-in / serial-out shift registers, 252 is a change point detection circuit, 253 is a down pulse generation circuit, 254 is a counter, 256 is a decision number generation circuit, and 257 is a digital comparator.

副走査線密度変換回路24のラツチ回路241Bと241Cからの
8ビツトのパラレルデータはシフトレジスタ251Bと251C
によつてシリアルデータに変換される。シフトレジスタ
251Cの内容は現ラインデータ、シフトレジスタ251Bの内
容は前ラインのデータである。この2つのデータ間に存
在する白から黒,黒から白への変化点が検出回路252で
検出され、その数がカウンタ254にて計数される。以上
は副走査方向に対する変化点を検出するもので、レジス
タ73の出力VR0を“1"とした場合はシフトレジスタ251C
の前々ラインデータ、VR1を“1"にした場合はシフトレ
ジスタ251Bの前ラインのデータに白から黒、あるいは黒
から白への変化点が検出されてカウンタ254に出力され
る。
The 8-bit parallel data from the latch circuits 241B and 241C of the sub scanning line density conversion circuit 24 are shift registers 251B and 251C.
Is converted into serial data. Shift register
The contents of 251C are the current line data, and the contents of the shift register 251B are the data of the previous line. A change point from white to black and a change from black to white existing between these two data is detected by the detection circuit 252, and the number thereof is counted by the counter 254. The above is for detecting the change point in the sub-scanning direction. When the output VR0 of the register 73 is set to "1", the shift register 251C
When VR1 is set to "1" before the previous line data of 1, the change point from white to black or black to white is detected in the data of the previous line of the shift register 251B and output to the counter 254.

カウンタ254にはダウンクロツク信号DOWNが入力され
る。これは、細かい文字等による変化点の数と大きな文
字による変化点の数を区別するためのものである。1ラ
イン全体にわたりダウンクロツク信号DOWNがカウンタ25
4に入力した場合、大きな文字が紙面いつぱいに書かれ
ている時の変化点数と小さな文字が紙面の一部に書かれ
ている時との区別がつかなくなる。線密度判定として
は、前者の大きな文字は粗い線密度、後者の小さな文字
は密な線密度にすることが望ましい。
The down clock signal DOWN is input to the counter 254. This is for distinguishing the number of change points due to small characters from the number of change points due to large characters. The down clock signal DOWN is the counter 25 over the entire line.
If you enter in 4, it will be impossible to distinguish between the change points when large characters are written on the paper and the change points when small characters are written on a part of the paper. In determining the line density, it is desirable that the former large character has a coarse linear density and the latter small character has a dense linear density.

レジスタ73からの信号LEAK0,1,2によつてダウンクロツ
ク信号DOWNは表6のように発生する。
The downclock signal DOWN is generated as shown in Table 6 by the signals LEAK0, 1, 2 from the register 73.

またレジスタ73からの信号LDTH0〜3によつて、判定数
発生回路256から表7のようなバイナリ信号が発生す
る。この出力信号とカウンタ254の出力とがコンパレー
タ257で比較され、カウンタ254の出力が大きくなつた
時、信号LDD8としてレジスタ73に入力される。μCPU8は
この信号を読み取ることによつて送信すべき線密度を決
定する。
Further, according to the signals LDTH0 to 3 from the register 73, the decision number generating circuit 256 generates binary signals as shown in Table 7. This output signal and the output of the counter 254 are compared by the comparator 257, and when the output of the counter 254 increases, it is input to the register 73 as the signal LDD8. The μCPU 8 determines the linear density to be transmitted by reading this signal.

第16図はセンサI/F4の回路ブロツクの一例である。41,4
4はクロツク信号CLKの周期を1/2にするデバイダ、42は
セレクタ、43はセンサタイミング発生回路である。
FIG. 16 is an example of a circuit block of the sensor I / F4. 41,4
4 is a divider that halves the cycle of the clock signal CLK, 42 is a selector, and 43 is a sensor timing generation circuit.

プロセツサ10の外部からの入力クロツク信号CLKをデバ
イダ41,44で1/2に分周する。レジスタ73からの信号SDRV
により、セレクタ42はCLK/2かCLK/4かどちらかの信号を
選択して、センサタイミング発生回路43に入力する。こ
の入力信号CCKはイメージ信号の周波数に同期する。SDR
V信号によつて、センサ駆動周波数を高速モードと低速
モードに分ける。高速モードは低速モードの2倍のスピ
ードでセンサを駆動する。
An input clock signal CLK from the outside of the processor 10 is divided into halves by the dividers 41 and 44. Signal SDRV from register 73
Accordingly, the selector 42 selects either CLK / 2 or CLK / 4 signal and inputs it to the sensor timing generation circuit 43. This input signal CCK is synchronized with the frequency of the image signal. SDR
The sensor drive frequency is divided into a high speed mode and a low speed mode according to the V signal. The high speed mode drives the sensor at twice the speed of the low speed mode.

センサタイミング発生回路43は、センサ用のセンサスタ
ート信号φTG,クロツク信号φI,センサリセツト信号φ
あるいは本プロセツサ10内のサンプルホールド回路11
に必要なサンプリングパルスφS,クランプパルスφ
発生する。センサスタート信号φTGは外部トリガ信号TR
IGと、タイマ5の出力信号SMSKとのどちらか長いパルス
に同期して発生する。
The sensor timing generation circuit 43 includes a sensor start signal φ TG , a clock signal φ I , and a sensor reset signal φ for the sensor.
R or sample hold circuit 11 in this processor 10
Sampling pulse φ S and clamp pulse φ C required for Sensor start signal φ TG is external trigger signal TR
It is generated in synchronization with the longer pulse of either IG or the output signal SMSK of timer 5.

第17図はタイマ5の詳細な回路ブロツクである。51はカ
ウンタ、52〜56,60はデイジタルコンパレータ、57〜59
はセツトリセツト付フリツプフロツプである。カウンタ
51は13ビツトあり、センサI/F4から出力されるセンサ画
素周波数に同期したクロツク信号CCKをカウントする。
このカウンタ51はセンサスタート信号φTGから8K画素ま
でカウントすることができる。
FIG. 17 is a detailed circuit block of the timer 5. 51 is a counter, 52-56 and 60 are digital comparators, 57-59
Is a flip-flop with set reset. counter
51 has 13 bits, and counts the clock signal CCK synchronized with the sensor pixel frequency output from the sensor I / F 4.
The counter 51 can count from the sensor start signal φ TG to 8K pixels.

第18図は第17図に示すタイマ5の動作を説明するための
タイムチヤートである。センサスタート信号φTGが入力
した後のクロツク信号CCKによつてカウンタ51が動作
し、通常以下のような信号を発生する。
FIG. 18 is a time chart for explaining the operation of the timer 5 shown in FIG. The counter 51 operates in response to the clock signal CCK after the sensor start signal φ TG is input, and normally generates the following signals.

まず、センサのダミービツト数を意味するレジスタ73か
らの設定値DMB0〜5にカウンタ51の出力が等しくなつた
時、コンパレータ52からパルスが発生し、フリツプフロ
ツプ57がセツトされる。これがSMSK信号の始まりであ
る。そして、カウンタ51の出力がレジスタ73からの設定
値TIME7〜12に等しくなつた時、、フリツプフロツプ57
がリセツトされてSMSK信号は終了する。SMSK信号をセン
サI/F4に入力して次のセンサスタート信号φTGを発生す
る。但し、外部トリガ信号TRIGはロウレベルとする。
First, when the output of the counter 51 becomes equal to the set value DMB0-5 from the register 73, which means the number of dummy bits of the sensor, a pulse is generated from the comparator 52 and the flip-flop 57 is set. This is the beginning of the SMSK signal. When the output of the counter 51 becomes equal to the set value TIME7 to 12 from the register 73, the flip-flop 57
Is reset and the SMSK signal ends. Input the SMSK signal to the sensor I / F 4 and generate the next sensor start signal φ TG . However, the external trigger signal TRIG is set to low level.

同様にレジスタ73の設定値VMST0〜11に応じてVMSK信号
が発生する。ところで、このVMSK信号を終了させる信号
TCは以下のようにして得る。ビデオアドレスカウンタ22
の出力とレジスタ73の設定値VMEND2〜11をコンパレータ
60で比較し両者が等しくなつた時にTC信号を発生し、こ
の信号によつてフリツプフロツプ58をリセツトする。
Similarly, the VMSK signal is generated according to the set values VMST0 to 11 of the register 73. By the way, a signal to end this VMSK signal
TC is obtained as follows. Video address counter 22
Output and the set value of register 73 VMEND2 to 11 are compared.
A comparison is made at 60, and when both are equal, a TC signal is generated, and the flip-flop 58 is reset by this signal.

全く同様に、設定値PAPWL5〜12とPAPWR5〜12の値に応じ
て、フリツプフロツプ59が駆動され信号PAPWを発生す
る。
Exactly the same, the flip-flop 59 is driven according to the set values PAPWL5-12 and PAPWR5-12 to generate the signal PAPW.

PAPW信号はすでに説明したがピークホールド回路12に入
力され、ハイレベルの期間のみピークホールド動作が行
われる。
As described above, the PAPW signal is input to the peak hold circuit 12, and the peak hold operation is performed only during the high level period.

VMSK信号はイメージ信号の有効部分を表わし、ハイレベ
ルの期間の信号のみがシステムバス93に出力される。
The VMSK signal represents the effective portion of the image signal, and only the signal in the high level period is output to the system bus 93.

SMSK信号の立上りはA/D・D/A変換回路13に入力して、初
期値を設定するのに用いる。終了はセンサI/F4に入力し
て、TRIG信号と比べ長い方に同期してセンサスタート信
号φTGを発生する。
The rising edge of the SMSK signal is input to the A / D / D / A conversion circuit 13 and used to set the initial value. The end is input to the sensor I / F 4, and the sensor start signal φ TG is generated in synchronization with the longer side than the TRIG signal.

シーケンサ6では各回路ブロツクへのタイミング信号を
発生する。シーケンサ6はカウンタ,シフトレジスタ及
びゲート回路等で構成される。
The sequencer 6 generates a timing signal for each circuit block. The sequencer 6 is composed of a counter, a shift register, a gate circuit and the like.

μCPUI/F7のうちコントローラ71はμCPU8のコントロー
ルバス91から信号を受け、レジスタ73へのデータの書き
込み、読み出しを行つたり、μCPU8へのインタラプト信
号を発生したりすることは一般的なμCPU8のインターフ
エイスと同様である。また、フアクシミリなどでは、セ
ンサの駆動周期と、実際に必要なデータとが同期しない
場合が多い。例えば紙送りのためのパルスモータ等への
駆動同期とセンサ駆動周期とが一致しない。そのため、
本プロセツサ10の外部からデータ要求信号SCANを入力す
ると、次のセンサスタート信号に続くイメージ信号をデ
イジタル化し、情報としてデータバス92に出力するよう
なコントロール回路がコントローラ71に含まれる。
The controller 71 of the μCPU I / F7 receives signals from the control bus 91 of the μCPU8, writes / reads data to / from the register 73, and generates interrupt signals to the μCPU8. Similar to Face. Also, in facsimile machines and the like, the driving cycle of the sensor and the actually required data are often not synchronized. For example, the drive synchronization with a pulse motor for paper feeding does not match the sensor drive cycle. for that reason,
When the data request signal SCAN is input from the outside of the processor 10, the controller 71 includes a control circuit that digitizes the image signal following the next sensor start signal and outputs it to the data bus 92 as information.

以上説明してきたようなレジスタ73の内容をまとめたも
のが表8である。
Table 8 summarizes the contents of the register 73 as described above.

コントローラ71にはレジスタ73を選ぶための5ビツトの
アドレスカウンタがあり、その設定値によつて、レジス
タ73に内容を書き込んだり、読み出したりする。
The controller 71 has a 5-bit address counter for selecting the register 73, and the contents are written in or read from the register 73 according to the set value.

▲▼はチツプセレクト信号でロウレベルの時、μCP
U8と本LSIとの間でデータのやりとりが可能になる。RS
はレジスタセレクト信号であり、ロウレベルでマドレス
レジスタ、ハイレベルでコマンドレジスタを選択する。
▲ ▼ is the chip select signal and μCP
Data can be exchanged between the U8 and this LSI. RS
Is a register select signal, which selects a Madres register at a low level and a command register at a high level.

▲▼,RSがロウレベルのときアドレスレジスタが選
択される。この時、コントローラ71に書き込み指令信号
(R/W)のロウレベルが入力すると、データバス92のア
ドレスデータがアドレスレジスタAR0〜4に書き込まれ
る。次にRSをハイレベルにすれば、AR0〜4に書き込ま
れたアドレスにあるコマンドレジスタが選ばれる。書き
込み/読み出し指令信号(R/W)によつて、上記コマン
ドレジスタへの内容の、書き込み/読み出しが可能にな
る。
The address register is selected when ▲ ▼ and RS are at low level. At this time, when the low level of the write command signal (R / W) is input to the controller 71, the address data of the data bus 92 is written in the address registers AR0 to AR4. Next, when RS is set to the high level, the command register at the address written in AR0-4 is selected. The write / read command signal (R / W) enables writing / reading of the contents to / from the command register.

本プロセツサではジエネラルリセツト信号(RESET)を
入力した後、書き込み指令信号と書き込みデータを同期
して入力すれば、コマンドレジスタのアドレスは“0"か
ら“1D"までが順次切りかわり、全てのコマンドレジス
タにデータを書き込むことができる。
In this processor, if the write command signal and write data are input in synchronization after inputting the general reset signal (RESET), the command register address will switch from "0" to "1D" in sequence, and all commands Data can be written to the register.

コマンドレジスタの内容について以下に説明する。The contents of the command register will be described below.

"0"番地はモード選択レジスタである。ADM0,ADM1は表2
で説明したADMODE0,1に相当し、SSM0,1は表5のSSMODE
0,1に相当し、VM0,1は表4のVDMODE0,1に相当する。LML
ESSには、ラインメモリ3が接続されてないシステム(R
AM31も付けられない)の場合に“1"を入力する。この場
合、2値化(デイザ信号も可)された画情報をシステム
バス93,システムバスバツフア72からシステムバス92へ
出力し、またはシリアル出力回路26からシリアルデータ
として出力する。この時、主走査方向のデータの縮少が
可能である。
Address "0" is the mode selection register. Table 2 for ADM0 and ADM1
Corresponding to ADMODE0,1 explained in step SSM0,1 is SSMODE in Table 5.
This corresponds to 0,1 and VM0,1 corresponds to VDMODE0,1 in Table 4. LML
The system (R that does not have the line memory 3 connected to the ESS
If you cannot add AM31), enter "1". In this case, the binarized (or dither signal is also possible) image information is output from the system bus 93, the system bus buffer 72 to the system bus 92, or is output from the serial output circuit 26 as serial data. At this time, it is possible to reduce the data in the main scanning direction.

R/Tは本プロセツサが読み取りモード(T)で動作する
のか受信モード(R)で動作するのかの指令信号で第14
図のシリアル出力回路26などで使われる。
R / T is a command signal indicating whether the processor operates in the reading mode (T) or the receiving mode (R).
It is used in the serial output circuit 26 in the figure.

“1"番地にはワークイネーブルレジスタが格納されてい
る。MAGEは拡大許可信号で“1"で拡大を実行する。REDE
は縮少許可信号で、“1"で縮少を実行する。INTEはμCP
U8へのインタラプト信号の許可信号で、“0"の時はイン
タラプト信号を発生しない。DMAEはDMAモードでのデー
タリクエスト信号(DREQ)の許可信号である。
The work enable register is stored in the address "1". MAGE executes enlargement with "1" with enlargement permission signal. REDE
Is a reduction permission signal, and reduction is executed by "1". INTE is μCP
It is an interrupt enable signal to U8. When it is "0", no interrupt signal is generated. DMAE is a data request signal (DREQ) enable signal in the DMA mode.

PRCEは本プロセツサの動作許可信号で“1"になると本プ
ロセツサが動作を開始する。
When PRCE becomes "1" by the operation enable signal of this processor, this processor starts its operation.

WCOMはRAM15へのシエーデイング波形の書き込み指令信
号で、“1"にすると一度だけ書き込み動作を実行する。
WCOM is a write command signal of a grading waveform to RAM15. When set to "1", write operation is executed only once.

VBSTは本文の中で特に説明をしなかつたが、次のような
内容である。本プロセツサではラインメモリ3に記憶さ
れた1ライン分の情報をバーストモードで外部に転送す
ることが可能である。これは最高速でデータを転送する
場合に用いられ、VBSTを立てると本モードでの動作を実
行する。
VBST has not been explained in the text, but it has the following contents. This processor can transfer the information for one line stored in the line memory 3 to the outside in the burst mode. This is used when transferring data at the highest speed, and when VBST is set, the operation in this mode is executed.

AADJはセンサ各画素の感度補正の実行を許可するレジス
タである。
AADJ is a register that permits execution of sensitivity correction of each pixel of the sensor.

“2"〜“7"番地は第17図,第18図で説明したタイマに関
する設定値である。
Addresses "2" to "7" are set values related to the timer described in FIGS. 17 and 18.

“8",“9"番地のVR0,1、LEAK0,1,2、LDTH1〜4は第15
図,表6、表7で説明した線密度判定に関するものであ
る。またSMD0〜2は表1で説明したセンサI/F4に係り、
SDRVはセンサ駆動周波数の設定用で第16図で説明したも
のである。
VR0,1, LEAK0,1,2, LDTH1 to 4 at addresses "8" and "9" are 15th
The present invention relates to the linear density determination described in the figures, Tables 6 and 7. In addition, SMD0 to 2 relate to the sensor I / F4 described in Table 1,
SDRV is for setting the sensor drive frequency and is described in FIG.

“A"番地はピークホールド回路12に関するもので第6図
で説明したものである。
Address "A" relates to the peak hold circuit 12 and has been described with reference to FIG.

“B",“C"番地のDAL0〜3,SLICE0〜3,γCONTはA/D変換回
路16に関係し、第11図で説明したものである。
DAL0-3, SLICE0-3, and .gamma.CONT at the addresses "B" and "C" are related to the A / D conversion circuit 16 and have been described in FIG.

ALLR0,1はセンサ各画素ごとの感度補正用のレジスタで
後で説明する。
ALLR0 and 1 are registers for sensitivity correction for each pixel of the sensor, which will be described later.

“D",“E",“F"番地は線密度変換に関するもので第12図
で説明したものである。
The addresses "D", "E", and "F" relate to the linear density conversion and are described in FIG.

“10"〜“17"番地はハーフトーンレジスタHS1乃至HS16
と呼ばれるもので、第11図に示すように、デイザパター
ン用RAM165に値を設定するためのレジスタであり、任意
のパターンを書き込むことができる。
Addresses "10" to "17" are halftone registers HS1 to HS16
As shown in FIG. 11, it is a register for setting a value in the dither pattern RAM 165, and an arbitrary pattern can be written.

“18"番地のLDLA〜Dは第12図のセレクタ215への入力信
号を設定するもので演算動作を決定する。
LDLA to D at the address "18" are for setting the input signal to the selector 215 in FIG. 12 and determine the operation operation.

“19",“1A"番地はVMSK信号の終了を示すTC信号を作る
ためのレジスタで第17図に説明したものである。
Addresses "19" and "1A" are registers for creating a TC signal indicating the end of the VMSK signal, which are described in FIG.

1B番地はピーク値を呼んだり設定したりするためのレジ
スタで、第6図で説明したものである。
Address 1B is a register for calling and setting the peak value, which is described in FIG.

“1C"番地はシエデイング波形の初期値に関するもので
第8図に説明したものである。
The address "1C" relates to the initial value of the seeding waveform, which is explained in FIG.

“1D"番地はシエーデイング波形記憶用RAM15の内容をリ
ード/ライトするもので、約1.5KビツトのRAM15の内容
を見ることができる。
The "1D" address is for reading / writing the contents of RAM15 for storing the waveform waveform, and the contents of RAM15 of about 1.5K bits can be seen.

次にセンサ各画素ごとの感度補正の動作について説明す
る。
Next, the operation of sensitivity correction for each pixel of the sensor will be described.

表8のワークイネーブルレジスタのAADJを立てて動作を
開始した場合、第3図のタイミングチヤートにあるRAM1
5へのシエーデイング波形の書き込み動作までは全く変
化がない。次のイメージ信号の入力と同期して感度補正
を実行する。第19図に感度補正時の波形の一例を示す。
イメージ信号のピーク値PEAKに対し、第8図のA/D・D/A
変換回路13にあるオペアンプOP4の出力OP4−0は、イメ
ージ信号のエンベローブになる。第19図に示すような感
度ばらつきには追従できない。
When the operation is started by setting AADJ of the work enable register in Table 8, the RAM1 in the timing chart in FIG.
There is no change until the writing operation of the shielding waveform to 5. The sensitivity is corrected in synchronization with the input of the next image signal. FIG. 19 shows an example of the waveform at the time of sensitivity correction.
For the peak value PEAK of the image signal, A / D and D / A in Fig. 8
The output OP4-0 of the operational amplifier OP4 in the conversion circuit 13 becomes the envelope of the image signal. It cannot follow the sensitivity variation as shown in FIG.

OP4−0信号が第11図に示すA/D変換回路16に入力される
と、レジスタ73からの信号DAL0〜3によつてオペアンプ
OP5の出力OP5−0は第19図のような波形になる。出力信
号OP4−0とOP5−0をγ補正用スイツチ167によりOP4−
0側の電圧ステツプが大きくなるようにしてコンパレー
タCOMPAD0〜n(本LSIではn=15)の比較電圧にす
る。出力信号OP4−0とOP5−0の間の電圧をn等分する
のではなく等比較級に近くなるよう分割する。出力信号
OP4−0とOP5−0の範囲にあるイメージ信号の感度ばら
つきがデイジタル信号に変換され、バイナリエンコーダ
162,4−8デコーダ163で信号変換されビデオバス94から
RAM31に記憶される。
When the OP4-0 signal is input to the A / D conversion circuit 16 shown in FIG. 11, the signal DAL0 to 3 from the register 73 causes the operational amplifier to operate.
The output OP5-0 of OP5 has a waveform as shown in FIG. The output signals OP4-0 and OP5-0 are set to OP4− by the γ correction switch 167.
As 0 side of the voltage step increases to the comparator COMPAD comparison voltage 0 to n (in this LSI n = 15). The voltage between the output signals OP4-0 and OP5-0 is not divided into n equal parts, but divided so as to be close to the equal comparison class. Output signal
The sensitivity variation of the image signal in the range of OP4-0 and OP5-0 is converted into the digital signal and the binary encoder
162,4-8 signal is converted by the decoder 163 from the video bus 94
It is stored in RAM31.

次にRAM31から読み出されたデータは、ビデオバス94を
通つてラツチ回路27に入り、ラツチ回路27から第8図の
A/D・D/A変換回路13にある加算回路131に入力される。
この時、RAM31からの信号はバイナリ信号である。カウ
ンタ130の出力からは第19図の出力信号OP4−0に相当す
るデジタル信号が得られ、これに感度ばらつきに関する
ラツチ回路27からのデジタル信号を加算回路131で加え
る。こうすることによつて出力信号OP4−0には第19図
の感度ばらきを有するイメージ信号が再生される。この
信号をもとにA/D変換回路16でイメージ信号をデイジタ
ル信号に変換すれば、感度ばらつきを補正したデイジタ
ル信号を得ることができる。
Next, the data read from the RAM 31 enters the latch circuit 27 through the video bus 94, and the latch circuit 27 outputs the data shown in FIG.
It is input to the adder circuit 131 in the A / D / D / A conversion circuit 13.
At this time, the signal from the RAM 31 is a binary signal. A digital signal corresponding to the output signal OP4-0 in FIG. 19 is obtained from the output of the counter 130, and the digital signal from the latch circuit 27 relating to the sensitivity variation is added to this by the adder circuit 131. As a result, the image signal having the sensitivity variation shown in FIG. 19 is reproduced as the output signal OP4-0. If the image signal is converted into a digital signal by the A / D conversion circuit 16 based on this signal, a digital signal in which sensitivity variations are corrected can be obtained.

コマンドレジスタの“C"番地にあるALLR0,1による動作
は以下のようである。
The operation by ALLR0,1 at address "C" of the command register is as follows.

第11図にあるDAL0〜3を設定することにより、第19図の
OP5−0の出力値を選ぶことができる。即ち、感度補正
可能な範囲を変えることができる。この範囲を変えると
きは、第8図での加算回路131への入力の値も変えなけ
れば、元のイメージ信号を再生することができない。本
プロセツサ10では、加算回路132のラツチ回路27からの
桁を変えることによつて、上記範囲を3つの状態に変え
ることができる。最も小さな範囲を“1"とすると、
“2",“4"倍の範囲を選択できる。
By setting DAL0-3 shown in FIG. 11,
The output value of OP5-0 can be selected. That is, the range in which the sensitivity can be corrected can be changed. When changing this range, the original image signal cannot be reproduced unless the value of the input to the adder circuit 131 in FIG. 8 is changed. In the present processor 10, the range can be changed to three states by changing the digit from the latch circuit 27 of the adder circuit 132. If the smallest range is "1",
You can select the range of "2", "4" times.

第19図のPEAK値をイメージ信号のピーク値より大きくす
る(外部回路により、入力PEAKIに入力する。)ことに
より、第19図のエンペロープOP4−0より上部にとび出
した感度に対する補正も可能である。
By making the PEAK value in FIG. 19 larger than the peak value of the image signal (input to the input PEAKI by an external circuit), it is possible to correct the sensitivity protruding above the envelope OP4-0 in FIG. .

以上述べたように、本実施例によれば、外部接続の制御
装置、ラインメモリ、主RAMのように比較的大容量の部
分を除き、画像信号処理プロセッサにおいて必要最小限
の部分を1チップLSIで構成し、かつ、その機能の変更
はインターフェイスの内部にあるレジスタの値を変更す
るだけで達成できるようにしたので、製品や機種の相違
があっても、ハードウエアを共通化できることにより、
コストを低下させることができ、しかも、小型化も可能
になる。
As described above, according to the present embodiment, the minimum necessary part in the image signal processor is a 1-chip LSI except for the relatively large capacity parts such as the externally connected control device, the line memory, and the main RAM. And, since the change of the function can be achieved only by changing the value of the register inside the interface, even if there is a difference in the product or model, the hardware can be shared,
The cost can be reduced and the size can be reduced.

また、本実施例の画像信号処理プロセッサをファクシミ
リに用いた場合においても、 (1) 送信原稿サイズと受信記録サイズが異なる場合
の画像伝送。
Further, even when the image signal processor of the present embodiment is used in a facsimile, (1) image transmission when the size of a transmission original is different from the size of a received recording.

(2) 送信原稿読み取りピツチ(線密度)と受信記録
ピツチが異なる場合の画像伝送。
(2) Image transmission when the transmitted original reading pitch (linear density) and the received recording pitch are different.

(3) センサ位置に対して、原稿の送信開始位置が異
なる場合の画像読み取り。
(3) Image reading when the document transmission start position is different from the sensor position.

(4) 光電変換を行うためのコントロール信号やクロ
ツク波形が異なるセンサを用いる場合の画像読み取り。
(4) Image reading when a sensor having different control signals and clock waveforms for photoelectric conversion is used.

(5) 光電変換後のイメージ信号の大きさ、出力フオ
ーマツトが異なるセンサを用いる場合の画像読み取り。
(5) Image reading in the case of using a sensor in which the size of the image signal after photoelectric conversion and the output format are different.

(6) 1ビツト単位での歪補正が必要な場合の画像読
み取り。
(6) Image reading when distortion correction in 1-bit units is required.

のような各動作を、インターフェイスの内部にあるレジ
スタの値を変更するだけで達成することができる。
Each operation such as can be achieved simply by changing the value of the register inside the interface.

また、このプロセツサは、前述のフアクシミリ用読み取
り操作のみならず、光学的読み取り機能を有する種々の
装置に適用可能である。以下簡単に本プロセツサを適用
した場合の効果について述べる。
Further, this processor can be applied to various devices having an optical reading function as well as the reading operation for facsimile described above. The effect of applying this processor will be briefly described below.

(1) インテリジエント・コピー機 本プロセツサの線密度変換回路を用いて、任意倍率の拡
大縮少ハードウエアを容易に実現できる。また、本プロ
セツサにより処理されたデータを、マイクロプロセッサ
で管理できるため、図面中に定められた記号やわくを書
いておくことにより、高度な編集操作を行う装置をソフ
トウエアのみの変更で実現できるというメリツトがあ
る。
(1) Intelligent Copy Machine By using the linear density conversion circuit of the present processor, it is possible to easily realize enlargement / reduction hardware of arbitrary magnification. In addition, since the data processed by this processor can be managed by the microprocessor, by writing the symbols and frames specified in the drawings, it is possible to realize a device for advanced editing operations by changing only the software. There is a merit.

(2) OCR 従来、OCRは高速なプロセツサを多数個用い認識率の向
上を計つていた。また、OCRはフアクシミリと異なり、
読めなかつた文字に対しては2値化レベルを変化させ再
試行を行なう機能も有している。これらの高級な読み取
り操作に対しても、本プロセツサを用いることにより、
2値化レベルの変更はもとより、自動的に線密度の判定
を行い、読みたい部分のみを詳しく読むという操作も容
易に実現できる。
(2) OCR Conventionally, OCR used many high-speed processors to improve the recognition rate. Also, OCR is different from Huaximiri,
It also has the function of changing the binarization level and retrying for unreadable characters. By using this processor even for these high-grade reading operations,
In addition to changing the binarization level, the linear density is automatically determined, and the operation of reading only the desired portion in detail can be easily realized.

(3) ハンド・スキヤナ 本プロセツサはLSI化を指向しており、ハンド・スキヤ
ナのような小型化,軽量化,低消費電力化、低価格化が
望まれる装置に対しては充分にそのニーズに対応できる
ものである。
(3) Hand scan scanner This processor is aimed at LSI, and it is fully necessary for the device such as hand scan scanner that is desired to be small, lightweight, low power consumption and low cost. It can be dealt with.

以上のように、本発明のプロセツサはフアクシミリ以外
の広汎な応用が可能である。
As described above, the processor of the present invention can be applied to a wide range of applications other than the facsimile.

〔発明の効果〕〔The invention's effect〕

本発明に係わる画像信号処理プロセッサによれば、比較
的大容量を占める構成部分を除いて、画像信号処理プロ
セッサにおいて必要最小限の部分を1チップLSIで構成
し、かつ、その機能の変更はインターフェイスの内部に
あるレジスタの値を変更するだけで達成できるように構
成したので、適用される製品や機種の相違があったとし
ても、ハードウエアの共通化を計ることができ、それに
伴って、画像信号処理プロセッサの製品コストを低下さ
せたり、小型化された画像信号処理プロセッサを得るこ
とができるという効果があり、さらに、製品の信頼性を
増加できるという効果もある。
According to the image signal processing processor of the present invention, the minimum necessary portion of the image signal processing processor is configured by a one-chip LSI, except for the components that occupy a relatively large capacity, and the change of the function is performed by the interface. Since it is configured so that it can be achieved only by changing the value of the register inside the, even if there are differences in the products and models to which it is applied, it is possible to standardize the hardware, and with that, the image There is an effect that the product cost of the signal processor can be reduced, and a downsized image signal processor can be obtained, and further, the reliability of the product can be increased.

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

第1図はプロセツサの概略ブロツク図、第2図はプロセ
ツサの詳細なブロツク図、第3図はタイミングチヤー
ト、第4図はサンプルホールド部の回路図、第5図
(1),(2)はタイミングチヤート、第6図はピーク
ホールド部のブロツク図、第7図はタイミングチヤー
ト、第8図はA/D・D/A変換部のブロツク図、第9図はタ
イミングチヤート、第10図は変復調部のブロツク図、第
11図はA/D変換部のブロツク図、第12図,第13図は線密
度変換部のブロツク図、第14図は出力部のブロツク図、
第15図は線密度判定部のブロツク図、第16図はセンサI/
Fのブロツク図、第17図はタイマ部のブロツク図、第18
図はタイミングチヤート、第19図は入出力波形図であ
る。 1……アナログ信号処理部、2……デイジタル信号処理
部、4……センサI/F部、5……タイマ部、6……シー
ケンサ部、7……μCPUI/F部、10……信号処理プロセツ
サSLI、71……コントローラ、73……レジスタ。
Fig. 1 is a schematic block diagram of the processor, Fig. 2 is a detailed block diagram of the processor, Fig. 3 is a timing chart, Fig. 4 is a circuit diagram of a sample hold unit, and Fig. 5 (1) and (2) are Timing chart, Fig. 6 is a block diagram of the peak hold unit, Fig. 7 is a timing chart, Fig. 8 is a block diagram of the A / D / D / A conversion unit, Fig. 9 is a timing chart, and Fig. 10 is a modulation / demodulation unit. Block diagram of part, No.
Figure 11 is a block diagram of the A / D converter, Figures 12 and 13 are block diagrams of the linear density converter, and Figure 14 is a block diagram of the output section.
Fig. 15 is a block diagram of the linear density determination unit, and Fig. 16 is the sensor I /
Block diagram of F, Fig. 17 is a block diagram of the timer section, 18
The figure is a timing chart, and FIG. 19 is an input / output waveform diagram. 1 ... Analog signal processing unit, 2 ... Digital signal processing unit, 4 ... Sensor I / F unit, 5 ... Timer unit, 6 ... Sequencer unit, 7 ... μCPU I / F unit, 10 ... Signal processing Processor SLI, 71 …… Controller, 73 …… Register.

フロントページの続き (72)発明者 中島 啓介 茨城県日立市幸町3丁目1番1号 株式会 社日立製作所日立研究所内 (72)発明者 浜田 長晴 茨城県日立市幸町3丁目1番1号 株式会 社日立製作所日立研究所内 (72)発明者 末森 登 神奈川県横浜市戸塚区戸塚町216番地 株 式会社日立製作所戸塚工場内 (72)発明者 久保 隆 神奈川県横浜市戸塚区戸塚町180番地 日 立通信システム株式会社内 (56)参考文献 特開 昭58−172062(JP,A) 特開 昭57−119561(JP,A) 特開 昭58−177063(JP,A) 特開 昭58−21970(JP,A) 安田靖彦著「新版ファクシミリの基礎と 応用」2刷(昭58−8−25)電子通信学会 P.292−296Front page continuation (72) Keisuke Nakajima 3-1-1, Saiwaicho, Hitachi City, Ibaraki Prefecture Hitachi Research Laboratory, Hitachi, Ltd. (72) Inventor Nagaharu Hamada 3-1-1, Saiwaicho, Hitachi City, Ibaraki Prefecture No. Stock Company Hitachi, Ltd.Hitachi Research Laboratory (72) Inventor Noboru Suemori 216 Totsuka-cho, Totsuka-ku, Yokohama-shi, Kanagawa Prefecture Hitachi Ltd. Totsuka Plant (72) Inventor Taka Kubo 180 Totsuka-cho, Totsuka-ku, Yokohama-shi, Kanagawa Address within Hitsuritsu Communication System Co., Ltd. (56) Reference JP 58-172062 (JP, A) JP 57-119561 (JP, A) JP 58-177063 (JP, A) JP 58 -21970 (JP, A) Yasuhiko Yasuda "Basics and Applications of New Edition Facsimile" 2nd edition (Sho 58-8-25) IEICE P. 292-296

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】1チップLSIにより構成された画像信号処
理プロセッサであって、 センサから入力されるアナログ信号の歪補正を行ない、
デジタル信号として出力するアナログ信号処理部と、 前記デジタル信号の主及び副走査線密度を指定された走
査線密度に各変換するデジタル信号処理部と、 センサを駆動するセンサ駆動部と、 前記各部の動作タインミングを設定するタイマ及びシー
ケンサと、 外部接続の制御装置にデータバス及びコントロールバス
を介して結合されるインタフェースをそれぞれ具備し、
さらに、 前記インタフェースは、前記LSIにおける動作モードま
たは各種コマンドまたは各種のパラメータ値がアドレス
に対応して設定されるレジスタと、 前記外部接続の制御装置から供給されるアドレスデータ
に基づいて、前記動作モードまたは各種コマンドまたは
各種のパラメータ値を前記レジスタに書き込みを行なう
コントローラと、 前記デジタル信号処理部からの出力デジタル信号を前記
外部接続の制御装置に供給するバスバッファと を具備していることを特徴とする画像信号処理プロセッ
サ。
1. An image signal processor comprising a one-chip LSI, which corrects distortion of an analog signal input from a sensor,
An analog signal processing unit for outputting as a digital signal, a digital signal processing unit for converting each of the main and sub-scanning line densities of the digital signal into a specified scanning line density, a sensor driving unit for driving a sensor, and each of the units. A timer and a sequencer for setting operation timing, and an interface coupled to an externally connected control device via a data bus and a control bus, respectively,
Further, the interface is based on an operation mode in the LSI, a register in which various commands or various parameter values are set corresponding to an address, and the operation mode based on address data supplied from the externally connected control device. Alternatively, it is provided with a controller that writes various commands or various parameter values to the register, and a bus buffer that supplies an output digital signal from the digital signal processing unit to the externally connected control device. Image signal processing processor.
【請求項2】前記インタフェース内にあるレジスタは、
アドレスレジスタ、及び、前記アドレスレジスタのアド
レスに従って選択されるモードレジスタ、コマンドレジ
スタ、パラメータレジスタからなっていることを特徴と
する特許請求の範囲第1項記載の画像信号処理プロセッ
サ。
2. Registers in the interface are:
The image signal processor according to claim 1, comprising an address register and a mode register, a command register, and a parameter register selected according to the address of the address register.
【請求項3】前記アナログ信号処理部は、入力アナログ
信号をピークホールドするピークホールド回路と、前記
ピークホールドした値を基準信号として入力アナログ信
号をアナログ−デジタル(A/D)変換し、かつ、歪補正
されたデジタル信号をデジタル−アナログ(D/A)変換
するA/D・D/A変換回路と、前記A/D・D/A変換回路の出力
デジタル信号を差分変復調することにより歪補正された
デジタル信号に変換する差分変復調回路及びメモリ(RA
M)と、前記歪補正されたデジタル信号を基準信号とし
て入力アナログ信号をアナログ−デジタル(A/D)変換
するA/D変換回路からなることを特徴とする特許請求の
範囲第1項記載の画像信号処理プロセッサ。
3. The analog signal processing section, a peak hold circuit for peak-holding an input analog signal, analog-digital (A / D) conversion of the input analog signal using the peak-held value as a reference signal, and Distortion correction by differential modulation / demodulation of the A / D / D / A conversion circuit that performs digital-analog (D / A) conversion of the distortion-corrected digital signal and the output digital signal of the A / D / D / A conversion circuit Differential modulation / demodulation circuit and memory (RA
M) and an A / D conversion circuit that performs analog-digital (A / D) conversion of an input analog signal using the distortion-corrected digital signal as a reference signal. Image signal processor.
【請求項4】前記デジタル信号処理部は、前記インタフ
ェース内にあるレジスタの指示に従って主走査線及び副
走査線の各密度変換を行なう主及び副走査線密度変換回
路と、前記主及び副走査線密度変換回路に結合されたビ
デオバスと、前記ビデオバスに結合されたラッチ回路
と、バスバッファを介して前記ビデオバスに結合可能な
外部接続のラインメモリ及びRAMとを具備し、前記ライ
ンメモリは前記主走査線密度変換回路で走査線密度変換
を行なった数ライン分の2値データを、また、前記RAM
は前記アナログ入力信号におけるセンサ感度のバラツキ
を示すデジタルデータをそれぞれ少なくとも記憶するも
のであることを特徴とする特許請求の範囲第1項記載の
画像信号処理プロセッサ。
4. The main and sub-scanning line density conversion circuit, wherein the digital signal processing unit performs density conversion of each main scanning line and sub-scanning line in accordance with an instruction of a register in the interface, and the main and sub-scanning lines. A line bus having a video bus coupled to the density conversion circuit, a latch circuit coupled to the video bus, and an externally connected line memory and RAM connectable to the video bus via a bus buffer. The binary data for several lines which have been subjected to the scanning line density conversion by the main scanning line density conversion circuit, and the RAM
The image signal processing processor according to claim 1, wherein each of the digital signal processing means stores at least digital data indicating a variation in sensor sensitivity in the analog input signal.
JP58201038A 1983-10-28 1983-10-28 Image signal processing processor Expired - Lifetime JPH0738682B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58201038A JPH0738682B2 (en) 1983-10-28 1983-10-28 Image signal processing processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58201038A JPH0738682B2 (en) 1983-10-28 1983-10-28 Image signal processing processor

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP7008673A Division JP2596398B2 (en) 1995-01-24 1995-01-24 Facsimile machine

Publications (2)

Publication Number Publication Date
JPS6094576A JPS6094576A (en) 1985-05-27
JPH0738682B2 true JPH0738682B2 (en) 1995-04-26

Family

ID=16434397

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58201038A Expired - Lifetime JPH0738682B2 (en) 1983-10-28 1983-10-28 Image signal processing processor

Country Status (1)

Country Link
JP (1) JPH0738682B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06101796B2 (en) * 1988-03-07 1994-12-12 株式会社日立製作所 Multicolor reading device and multicolor fax machine

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57119561A (en) * 1981-01-19 1982-07-26 Ricoh Co Ltd Binary-coding processing method for analog picture signal
JPS58172062A (en) * 1982-04-02 1983-10-08 Nec Corp Correcting device for picture signal
JPS58177063A (en) * 1982-04-09 1983-10-17 Canon Inc image forming device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
安田靖彦著「新版ファクシミリの基礎と応用」2刷(昭58−8−25)電子通信学会P.292−296

Also Published As

Publication number Publication date
JPS6094576A (en) 1985-05-27

Similar Documents

Publication Publication Date Title
JP2716755B2 (en) Image processing device based on address token
US4214277A (en) Halftone implementation apparatus
US5371610A (en) Image data processing apparatus
JPS59178077A (en) Method for compressing data of binary picture
US5177623A (en) Image processing apparatus and method
US5563713A (en) Image processing method and apparatus with adding of a white outline to an outline of a character image
JPH0738682B2 (en) Image signal processing processor
US6228125B1 (en) Image processing apparatus for parallel image processing and method therefor
JP2596398B2 (en) Facsimile machine
JPS586343B2 (en) Kahensousasasenmitsudoseigyohoushiki
JPH0362177A (en) Image processing device
JPS6033333B2 (en) Original reading device
JPS6146671A (en) Area designation system
JPH04236568A (en) Edit processing system and equipment in picture reader
JPS58186264A (en) Facsimile device
JP2921685B2 (en) Image data correction device
JPS6346872A (en) Image processing device
JP2643273B2 (en) Image processing device
KR950003488B1 (en) Multi-function Mixed Mode Image Input Device
JP2705944B2 (en) Image processing device
JP2557481B2 (en) Color image processor
JPS63108473A (en) Image processing device
JP2886859B2 (en) Image processing device
JPS6346871A (en) Image processing device
JPH0371326A (en) Scanning adding device