JP2005176187A - Scanning device control signal generating circuit - Google Patents

Scanning device control signal generating circuit Download PDF

Info

Publication number
JP2005176187A
JP2005176187A JP2003416320A JP2003416320A JP2005176187A JP 2005176187 A JP2005176187 A JP 2005176187A JP 2003416320 A JP2003416320 A JP 2003416320A JP 2003416320 A JP2003416320 A JP 2003416320A JP 2005176187 A JP2005176187 A JP 2005176187A
Authority
JP
Japan
Prior art keywords
output
signal
register
clock
scanning device
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.)
Withdrawn
Application number
JP2003416320A
Other languages
Japanese (ja)
Inventor
Yuichi Naoi
裕一 直井
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.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2003416320A priority Critical patent/JP2005176187A/en
Publication of JP2005176187A publication Critical patent/JP2005176187A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Transforming Light Signals Into Electric Signals (AREA)
  • Facsimile Heads (AREA)
  • Facsimile Scanning Arrangements (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a scanning device control signal generating circuit capable of outputting, at an arbitrary pattern, a plurality of control signals for a scanning device and control signals of a sampling and A/D converting means connected with the scanning device, and further capable of controlling mounted devices with no distinction and furthermore capable of correcting timing deviance of scanned image data attributable to a physical layout of a device mounting since scanning device control signals except transfer clock signals of the scanning device can be arbitrarily delayed. <P>SOLUTION: The scanning device control circuit comprises a horizontal synchronizing means, an original clock frequency demultiplying means, a register means for storing arbitrary waveform patterns, a shift register for outputting arbitrary waveforms, a signal generating means for generating control signals that control the shift register synchronized with the horizontal synchronizing means and the original clock frequency demultiplying means, and a delay means for delaying an output from the shift register by a specified amount of the original clock frequency. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は原稿画像を読み取りデジタル画像のデータに変換する、ファクシミリ、デジタルコピーに使用される読み取りデバイスを制御するのに好適な読み取りデバイス制御信号生成回路、特に読み取りデバイス制御信号パターンおよびタイミングを任意に生成可能な読み取りデバイス制御信号生成回路に関する。   The present invention relates to a reading device control signal generation circuit suitable for controlling a reading device used for facsimile and digital copying, which reads a document image and converts it into digital image data, and in particular, arbitrarily selects a reading device control signal pattern and timing. The present invention relates to a read device control signal generation circuit that can be generated.

図3は従来例の画像処理システムをブロック図で示したものである。この装置では、イメージセンサとしてCCD(3−1)を使用している。CCDはランプによる照射光により原稿を照射し、原稿の反射光を電気量に変換する読み取りデバイスである。   FIG. 3 is a block diagram showing a conventional image processing system. In this apparatus, a CCD (3-1) is used as an image sensor. The CCD is a reading device that irradiates a document with irradiation light from a lamp and converts reflected light of the document into an electric quantity.

3−2はCCDを駆動するための駆動信号を供給するドライバ回路、
3−3はCCDの出力を適切なレベルまで増幅するためのプログラマブルアンプ回路、3−4はCCDから1画素毎に出力される出力信号から原稿画像の出力のみを抜きだすサンプルホールド回路、3−5はサンプルホールド後のアナログビデオ信号を、デジタル信号に変換するA/Dコンバータである。3−3、3−4,3−5は現在一体化されアナログフロントエンドASIC(3−7)として具現化されている。
3-2 is a driver circuit for supplying a drive signal for driving the CCD,
3-3 is a programmable amplifier circuit for amplifying the output of the CCD to an appropriate level, 3-4 is a sample and hold circuit for extracting only the output of the original image from the output signal output for each pixel from the CCD, and 3- Reference numeral 5 denotes an A / D converter that converts the analog video signal after the sample hold into a digital signal. 3-3, 3-4, and 3-5 are currently integrated and embodied as an analog front end ASIC (3-7).

上記CCDおよびアナログフロントエンドの制御信号の出力タイミングは3−6読取ブロック制御回路により制御される。読取ブロック制御回路ではある同期クロックにより各制御信号が生成され、原稿から読み取られた画像信号は、A/D変換されNビットのデジタルデータとしてある同期クロック(画像クロック)に同期された状態で、1画素毎に順次以降の画像処理ブロックに送出される。CCDおよびアナログフロントエンド制御信号の出力タイミングとしては以下の様になる。   The output timing of the CCD and analog front end control signals is controlled by a 3-6 reading block control circuit. In the reading block control circuit, each control signal is generated by a certain synchronizing clock, and the image signal read from the document is A / D converted and synchronized with a certain synchronizing clock (image clock) as N-bit digital data. Each pixel is sequentially sent to subsequent image processing blocks. The output timing of the CCD and analog front end control signals is as follows.

CCDに入力させる制御信号としてシフトゲート信号、転送クロック信号(第1)、転送クロック信号(第2)、リセットゲート信号、クランプゲート信号等がある。   Control signals to be input to the CCD include a shift gate signal, a transfer clock signal (first), a transfer clock signal (second), a reset gate signal, a clamp gate signal, and the like.

CCDに対し、図4に示す様なタイミングで上記信号(図に示すcc_ph1,cc_ph2は転送クロック信号(第一、第二)、cc_rsはリセットゲート信号、cc_clmpはクランプゲート信号)を入力することにより、CCDは転送クロック(第1,2)に同期してリファレンスレベルと読み取り画素のデータレベルを出力する(図4に図示)。   When the above signals (cc_ph1, cc_ph2 shown in the figure are transfer clock signals (first and second), cc_rs is a reset gate signal, and cc_clmp is a clamp gate signal) are input to the CCD at the timing shown in FIG. The CCD outputs the reference level and the data level of the read pixel in synchronization with the transfer clock (first and second) (shown in FIG. 4).

アナログフロントエンドに入力させる制御信号としてはADコンバートクロック信号、サンプルホールド信号、クランプ信号等がある。   Examples of control signals input to the analog front end include an AD convert clock signal, a sample hold signal, and a clamp signal.

前記CCDからのリファレンスレベルと読み取り画素のデータレベルに対し、その出力タイミングに同期してクランプ信号をアサートすることにより上記のリファレンスレベルを抽出、サンプルホールド信号をアサ−トすることにより、信号レベルを抽出し、ADコンバートクロックによって抽出信号レベルをアナログ−デジタル変換する。   With respect to the reference level from the CCD and the data level of the read pixel, the reference level is extracted by asserting the clamp signal in synchronization with the output timing, and the signal level is obtained by asserting the sample hold signal. Extraction is performed, and the extracted signal level is converted from analog to digital by an AD conversion clock.

変換されたデータはADコンバートクロックに同期してアナログフロントエンドから出力され、後段の処理ブロックに転送される。   The converted data is output from the analog front end in synchronization with the AD conversion clock and transferred to the subsequent processing block.

従来これらCCD、アナログフロントエンドの制御信号生成回路3−6は各CCD、およびアナログフロントエンドの仕様に即して設計され実装されている。
特開平11−177783号公報
Conventionally, these CCD and analog front end control signal generation circuits 3-6 are designed and implemented according to the specifications of each CCD and analog front end.
Japanese Patent Application Laid-Open No. 11-177783

以上に述べた従来例では、前述のとおりCCDおよびアナログフロントエンドの制御信号の出力タイミングを読取ブロック制御回路により制御し、読取ブロック制御回路ではある同期クロックにより各制御信号が生成され、原稿から読み取られた画像信号は、A/D変換されNビットのデジタルデータとしてある同期クロック(画像クロック)に同期された状態で、1画素毎に順次以降の画像処理ブロックに送出される。   In the conventional example described above, the output timing of the control signals of the CCD and the analog front end is controlled by the reading block control circuit as described above, and each control signal is generated by a certain synchronizing clock in the reading block control circuit and read from the original. The image signals thus obtained are A / D converted and synchronized with a certain synchronizing clock (image clock) as N-bit digital data, and sequentially sent out to the subsequent image processing blocks for each pixel.

近年、画像読取の高解像度化、高速化に伴い多種多様のCCDデバイス、およびアナログフロントエンドデバイスが開発されている。   In recent years, various types of CCD devices and analog front-end devices have been developed with higher resolution and higher speed of image reading.

これらのデバイスにおいては基本的な制御は同一であるものの、その制御タイミングは各デバイスにより細かな部分で異なることが多い。   In these devices, the basic control is the same, but the control timing is often different for each device in fine parts.

これらの多種多様なCCDデバイス、アナログフロントエンドデバイスを実装したデジタルコピー、ファクシミリ等を開発する場合に、各々のデバイス仕様に即した制御信号生成回路をその都度設計していたのでは非常に開発効率が悪い。   When developing such a wide variety of CCD devices, digital copies, facsimiles, etc. equipped with analog front-end devices, it would be very efficient to design a control signal generation circuit according to each device specification. Is bad.

又、CCDの高解像度化に伴って従来の単純な読み取りデバイス制御ではなく、間引き読み、アナログ加算読み取り等のCCDデバイス内でアナログ的に画素加算や間引きを行って高解像度CCDデバイスから直接、低解像度の画素値を得る方式などが実現されている。これはデジタル変換された画素データを後段で低解像度化する必要が無くなるため非常に有用である。   In addition to the conventional simple reading device control as the resolution of the CCD increases, the pixel addition and decimation are performed analogly in the CCD device such as decimation reading and analog addition reading, and directly from the high resolution CCD device. A method for obtaining pixel values of resolution has been realized. This is very useful because it is not necessary to lower the resolution of the digitally converted pixel data at a later stage.

これを実現するにはCCDの、転送クロック信号、リセットゲート信号、クランプゲート信号等を複雑に制御可能とする必要がある。   To realize this, it is necessary to be able to control the transfer clock signal, reset gate signal, clamp gate signal, etc. of the CCD in a complex manner.

例えば、1200dpiの解像度を持つCCDデバイスからアナログ的に画素加算、画素間引きをおこなって300dpiの解像度を得るためには、図5のタイミング図に示すように転送クロック(cc_ph1,2)と転送最終段クロック(cc_phL1,2)、リセットゲート信号(cc_rs)、クランプゲート信号(cc_clmp)を制御する事により、奇数画素(あるいは偶数画素)を間引き処理し、間引き処理後の画素を2画素毎加算処理を行うことによりCCDデバイスから直接300dpiの画素アナログ出力(video_out)を得る事ができる。   For example, in order to obtain a 300 dpi resolution by performing pixel addition and pixel thinning out from a CCD device having a resolution of 1200 dpi, as shown in the timing diagram of FIG. 5, the transfer clock (cc_ph1, 2) and the final transfer stage By controlling the clock (cc_phL1, 2), reset gate signal (cc_rs), and clamp gate signal (cc_clmp), the odd-numbered pixels (or even-numbered pixels) are thinned out, and the pixels after the thinned-out processing are added every two pixels. By doing so, a 300 dpi pixel analog output (video_out) can be obtained directly from the CCD device.

当然これら間引き、加算読み取りの制御を行う場合には、アナログフロントエンドの制御信号もこのCCD出力に同期した物でなくてはならない。   Of course, when controlling these thinning and addition readings, the control signal of the analog front end must also be synchronized with this CCD output.

又、これらCCDデバイス、アナログフロントエンドデバイスを実装したデジタルコピー、ファクシミリ等を開発する場合に、デバイスを実装する物理的レイアウト等により、デバイスに供給する制御信号のタイミングずれ等が生じ、読み取り画質の劣化等を引き起こす可能性がある。   Also, when developing these CCD devices, digital copies, facsimiles, etc. with analog front-end devices, the timing of the control signals supplied to the devices may be shifted due to the physical layout of the devices, etc. May cause deterioration.

例えば、CCDデバイスの実装されているスキャナ部とアナログフロントエンドデバイスの実装されているメイン制御部が物理的に離れており、メイン制御部から出力されるCCDの制御信号がケーブル等で接続されている場合、ケーブル等の負荷容量によって制御信号の遅延や読み取りデータ出力遅延が起こり、アナログフロントエンドデバイスとのタイミングずれにより画質劣化を引き起こす。   For example, the scanner unit on which the CCD device is mounted and the main control unit on which the analog front-end device is mounted are physically separated, and the CCD control signal output from the main control unit is connected by a cable or the like. If there is a load capacity such as a cable, a delay of the control signal and a read data output are caused, and the image quality is deteriorated due to a timing shift with the analog front-end device.

これらの遅延ファクターは設計上、完全には予測不可能であり、開発者が製品開発の過程でタイミング合わせをおこなわなければならなかった。   These delay factors were completely unpredictable by design, and developers had to make timing in the product development process.

本発明は以上のような従来の欠点を除去するためになされたもので、読み取りデバイスに対する複数の制御信号およびそれに接続されるサンプル、A/Dコンバート手段の制御信号を、任意のパターンで出力可能として、実装されたデバイスを選ばず制御可能で、かつアナログ画素間引き、画素加算等の制御が可能であり、読み取りデバイス制御クロック信号以外の読み取りデバイス制御信号は、読み取りデバイス制御クロックに対し、レジスタ設定数分の原振クロック数分、任意に遅延させることにより、デバイス実装の物理的レイアウトに起因するタイミングずれを補正する読み取りデバイス制御信号生成回路を構築することを目的としている。   The present invention has been made to eliminate the above-mentioned conventional drawbacks, and can output a plurality of control signals for a reading device, samples connected thereto, and control signals for A / D conversion means in arbitrary patterns. It is possible to control regardless of the mounted device, and it is possible to control analog pixel decimation, pixel addition, etc. Reading device control signals other than the reading device control clock signal are set in the register for the reading device control clock. It is an object to construct a reading device control signal generation circuit that corrects a timing shift caused by a physical layout of a device mounting by arbitrarily delaying by several original clocks.

この発明においては、読み取りデバイスに供給する水平同期信号(ラインリセット信号)を生成するSH信号生成手段、原振クロックに対しこれを分周し、1/N分周出力クロックを得るクロック分周手段、前記クロック分周手段より出力される分周された基準クロックに同期しかつ、前記SH信号生成手段により生成された水平同期信号に同期され、レジスタに設定された制御信号出力周期内で、複数のレジスタに設定された任意の出力パターンを出力させる複数のパターン信号出力手段を有し、読み取りデバイスに対する複数の制御信号およびそれに接続されるサンプル、A/Dコンバート手段の制御信号を、任意のパターンで出力可能とし、実装されたデバイスを選ばず制御可能で、かつアナログ画素間引き、画素加算等の制御が可能とする。   In the present invention, an SH signal generating means for generating a horizontal synchronizing signal (line reset signal) to be supplied to the reading device, a clock dividing means for dividing the original clock and obtaining a 1 / N divided output clock , Synchronized with the divided reference clock output from the clock dividing means, and synchronized with the horizontal synchronizing signal generated by the SH signal generating means, and within a control signal output cycle set in the register, Having a plurality of pattern signal output means for outputting an arbitrary output pattern set in the register, a plurality of control signals for the reading device and samples connected thereto, and a control signal for the A / D conversion means for an arbitrary pattern Can be output regardless of the mounted device, and analog pixel thinning, pixel addition, etc. can be controlled. To.

又、前記複数のパターン信号出力手段の出力信号に対し、レジスタ設定された原振クロック数分遅延させる遅延手段を有し、読み取りデバイス制御クロック信号以外の読み取りデバイス制御信号は、読み取りデバイス制御クロックに対し、レジスタ設定数分の原振クロック数分、任意に遅延させることを可能とし、デバイス実装の物理的レイアウトに起因するタイミングずれを補正可能とする。   In addition, delay means for delaying the output signals of the plurality of pattern signal output means by the number of original clocks set in the register is provided, and reading device control signals other than the reading device control clock signal are used as the reading device control clock. On the other hand, it is possible to arbitrarily delay by the number of source clocks corresponding to the number of register settings, and to correct timing deviation caused by the physical layout of the device mounting.

又、任意の出力パターン長は設定するレジスタのビット長に規定されるが、より遅いタイミングでCCDの制御を行いたい場合のために、レジスタに設定された制御信号出力周期内で出力される読み取りデバイス制御クロックが、レジスタに設定された任意の出力パターンを出力させるモードと、レジスタに設定された或る特定ビットの信号出力周期でのトグル動作させるモードを選択可能とし、より遅いCCDデバイスにも対応可能とする。   In addition, the arbitrary output pattern length is defined by the bit length of the register to be set, but in order to control the CCD at a later timing, the reading output within the control signal output cycle set in the register The device control clock can select a mode that outputs an arbitrary output pattern set in the register and a mode that toggles in the signal output cycle of a specific bit set in the register. It can be supported.

この発明においては、読み取りデバイスに供給する水平同期信号(ラインリセット信号)を生成するSH信号生成手段、原振クロックに対しこれを分周し、1/N分周出力クロックを得るクロック分周手段、前記クロック分周手段より出力される分周された基準クロックに同期しかつ、前記SH信号生成手段により生成された水平同期信号に同期され、レジスタに設定された制御信号出力周期内で、複数のレジスタに設定された任意の出力パターンを出力させる複数のパターン信号出力手段を有し、読み取りデバイスに対する複数の制御信号およびそれに接続されるサンプル、A/Dコンバート手段の制御信号を、任意のパターンで出力可能とし、実装されたデバイスを選ばず制御可能で、かつアナログ画素間引き、画素加算等の制御が可能となる。   In the present invention, an SH signal generating means for generating a horizontal synchronizing signal (line reset signal) to be supplied to the reading device, a clock dividing means for dividing the original clock and obtaining a 1 / N divided output clock , Synchronized with the divided reference clock output from the clock dividing means, and synchronized with the horizontal synchronizing signal generated by the SH signal generating means, and within a control signal output cycle set in the register, Having a plurality of pattern signal output means for outputting an arbitrary output pattern set in the register, a plurality of control signals for the reading device and samples connected thereto, and a control signal for the A / D conversion means for an arbitrary pattern Can be output regardless of the mounted device, and analog pixel thinning, pixel addition, etc. can be controlled. It made.

又、前記複数のパターン信号出力手段の出力信号に対し、レジスタ設定された原振クロック数分遅延させる遅延手段を有し、読み取りデバイス制御クロック信号以外の読み取りデバイス制御信号は、読み取りデバイス制御クロックに対し、レジスタ設定数分の原振クロック数分、任意に遅延させることを可能とし、デバイス実装の物理的レイアウトに起因するタイミングずれを補正可能とする。   In addition, delay means for delaying the output signals of the plurality of pattern signal output means by the number of original clocks set in the register is provided, and reading device control signals other than the reading device control clock signal are used as the reading device control clock. On the other hand, it is possible to arbitrarily delay by the number of source clocks corresponding to the number of register settings, and to correct timing deviation caused by the physical layout of the device mounting.

又、任意の出力パターン長は設定するレジスタのビット長に規定されるが、より遅いタイミングでCCDの制御を行いたい場合のためにレジスタに設定された制御信号出力周期内で出力される読み取りデバイス制御クロックが、レジスタに設定された任意の出力パターンを出力させるモードと、レジスタに設定された或る特定ビットの信号出力周期でのトグル動作させるモードを選択可能とし、より遅いCCDデバイスにも対応可能となる。   An arbitrary output pattern length is defined by the bit length of the register to be set, but a reading device that is output within the control signal output cycle set in the register in order to control the CCD at a later timing The control clock can select a mode that outputs an arbitrary output pattern set in the register and a mode that toggles the signal output cycle of a specific bit set in the register. It becomes possible.

以下、図面を参照して本発明の一実施例を詳細に説明する。   Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings.

図1は、本発明にかかる読み取りデバイス制御信号生成回路の一例を表したブロック図である。001は、水平同期信号を生成するSHジェネレータである、SHジェネレータ001は、水平同期のタイミングを規定する水平同期信号(internal_SH)を生成する。002は後述する複数のシフトレジ4スタ群に対してレジスタ値をロードするload信号とシフトレジスタをシフトさせるシフトクロック(ps_lclk)を生成するタイミングジェネレータである。   FIG. 1 is a block diagram showing an example of a reading device control signal generation circuit according to the present invention. Reference numeral 001 denotes an SH generator that generates a horizontal synchronization signal. The SH generator 001 generates a horizontal synchronization signal (internal_SH) that defines the timing of horizontal synchronization. A timing generator 002 generates a load signal for loading a register value into a plurality of shift register groups 4 to be described later and a shift clock (ps_lclk) for shifting the shift register.

シフトクロック(ps_lclk)の生成は図2−1のタイミング図に示す様に、原振(lClk2x)を分周するタイミングジェネレータ内蔵の分周器により生成され、レジスタpre_scale_lclk2xによりその分周比が決定される。   As shown in the timing diagram of FIG. 2-1, the shift clock (ps_lclk) is generated by a frequency divider with a built-in timing generator that divides the original oscillation (lclk2x), and the division ratio is determined by the register pre_scale_lclk2x. The

図2−1に示す様に、pre_scale_lclk2xを4分周に設定すると、原振192MHzに対しps_lclkは48MHzとなり、シフトレジスタはps_lclkに同期して動作する。   As shown in FIG. 2A, when pre_scale_lclk2x is set to divide by 4, ps_lclk becomes 48 MHz with respect to the original oscillation of 192 MHz, and the shift register operates in synchronization with ps_lclk.

003は各波形を任意に生成するためのレジスタ群である。   003 is a register group for arbitrarily generating each waveform.

各レジスタ群には各出力制御信号の出力パターンが保持される。   Each register group holds an output pattern of each output control signal.

本実施例ではレジスタ群のビット長は32ビットであり、ps_lclkの32周期分のパターン生成が可能となっている。   In this embodiment, the register group has a bit length of 32 bits, and patterns for 32 periods of ps_lclk can be generated.

一方、レジスタ群の各レジスタ(*_cnt)からシフトレジスタにデータをロードする動作は、タイミングジェネレータ内のレジスタvclk_intervalにより設定され、ps_lclkでカウントしたカウンタの値がvclk_intervalとなると各シフトレジスタへのload信号がアサ−トされる。   On the other hand, the operation of loading data from each register (* _cnt) of the register group to the shift register is set by the register vclk_interval in the timing generator, and when the value of the counter counted by ps_lclk becomes vclk_interval, the load signal to each shift register Is asserted.

これにより出力信号は、ps_lclkに同期してvclk_intervalの周期でロードされたレジスタの値の出力を繰り返す。   As a result, the output signal repeats output of the value of the register loaded in the cycle of vclk_interval in synchronization with ps_lclk.

004は003のレジスタ群よりvclk_intervalの周期でロードされps_lclkに同期してシフト出力をするシフトレジスタ群である。   004 is a shift register group that is loaded with a cycle of vclk_interval from the register group 003 and outputs a shift in synchronization with ps_lclk.

シフトレジスタ群からのデータ出力例を図2−2に示す。
各出力波形の下にあるのが各レジスタの値となる。この図ではvclk_interval=24であるので、24×ps_lclkの周期でレジスタ値の出力を繰り返す。
An example of data output from the shift register group is shown in FIG.
Below each output waveform is the value of each register. In this figure, since vclk_interval = 24, the output of the register value is repeated at a cycle of 24 × ps_lclk.

又、タイミングジェネレータ002には水平同期信号(internal_SH)が入力されており、水平同期信号に同期して各シフトレジスタの出力の位相合わせを行う。   The timing generator 002 receives a horizontal synchronization signal (internal_SH) and performs phase alignment of the outputs of the shift registers in synchronization with the horizontal synchronization signal.

例えば、水平同期信号(internal_SH)がSHジェネレータ001より入力されると、これに同期してタイミングジェネレータ002が動作を開始させ、各シフトレジスタへのload信号がアサ−トされる。   For example, when a horizontal synchronization signal (internal_SH) is input from the SH generator 001, the timing generator 002 starts operation in synchronization with this and the load signal to each shift register is asserted.

このload信号は、vclk_intervalの周期で出力され、各レジスタ群より所定の保持されたデータを周期的にシフトレジスタ群にloadする。   The load signal is output at a cycle of vclk_interval, and predetermined stored data from each register group is periodically loaded into the shift register group.

一方、シフトレジスタ群にはシフトクロックとしてps_lclkが入力され、本クロックに同期してロードされたデータをシフト出力する。   On the other hand, ps_lclk is input to the shift register group as a shift clock, and the loaded data is shifted out in synchronization with this clock.

cc_ph1、cc_phL1信号の出力を見るとレジスタの値は”111111111111000000000000”となっており、これをシフトレジスタにロードして、ps_lclkに同期して出力することにより、図2−1の様にps_lclk×12周期‘1’ps_lclk×12周期‘0’の周期で繰り返される波形が出力されることとなる。   Looking at the output of the cc_ph1 and cc_phL1 signals, the value of the register is “111111111111000000000”. By loading this into the shift register and outputting it in synchronization with ps_lclk, ps_lclk × 12 as shown in FIG. A waveform that is repeated with a period of “1” ps_lclk × 12 periods of “0” is output.

他の出力信号に設定されているパターンデータは以下の様になっている。   The pattern data set for other output signals is as follows.

Figure 2005176187
Figure 2005176187

各出力信号はps_lclk×24周期のパターンを繰り返し出力する。   Each output signal repeatedly outputs a pattern of ps_lclk × 24 periods.

005はシフトレジスタからの出力を原振の指定クロック数遅延させる遅延ロジックである。   005 is a delay logic for delaying the output from the shift register by the designated number of clocks of the original oscillation.

遅延ロジック005の動作を図2−3で説明する。   The operation of the delay logic 005 will be described with reference to FIG.

図2−4ではcc_rs信号の遅延設定動作を示す、本実施例では遅延ロジックのレジスタccrs_delayに2が設定されており、lclk2xの2クロック分の遅延設定となり、シフトレジスタから出力された信号に対して、2×lclk2x分遅延した信号が出力される。   2-4 shows the delay setting operation of the cc_rs signal. In this embodiment, 2 is set in the delay logic register ccrs_delay, and the delay is set for two clocks of lclk2x, and the signal output from the shift register is Thus, a signal delayed by 2 × lclk2x is output.

例えば、CCDデバイスの実装されているスキャナ部とアナログフロントエンドデバイスの実装されているメイン制御部が物理的に離れており、メイン制御部から出力されるCCDの制御信号がケーブル等で接続されている場合、ケーブル等の負荷容量によって制御信号の遅延や読み取りデータ出力遅延が起こり、想定した出力タイミングよりCCDからのデータが遅れる。   For example, the scanner unit on which the CCD device is mounted and the main control unit on which the analog front-end device is mounted are physically separated, and the CCD control signal output from the main control unit is connected by a cable or the like. If there is a load capacity such as a cable, a delay of the control signal and a read data output delay occur, and the data from the CCD is delayed from the assumed output timing.

そのためアナログフロントエンドの制御信号を通常のタイミングでアサートするとCCDの出力を遅延分ずれたタイミングでサンプリングすることとなり、正確なCCD出力を得ることができない。   Therefore, if the analog front end control signal is asserted at a normal timing, the CCD output is sampled at a timing shifted by the delay, and an accurate CCD output cannot be obtained.

よってこういう場合に遅延ロジックにより、アナログフロントエンドに入力されるサンプリング信号(af_vclmp,af_vsmp)を遅延させることによりCCD出力を所定のタイミングでサンプリングし、正確なCCD出力を得られる様に制御する。   Therefore, in such a case, the delay logic controls the sampling signal (af_vclpmp, af_vsmp) input to the analog front end so as to sample the CCD output at a predetermined timing and control so as to obtain an accurate CCD output.

又、CCDに入力する転送クロックに対してはccph_modeレジスタをタイミングジェネレータに設け、上述したように制御信号出力周期(vclk_interval)内で出力される転送クロック(cc_ph1,cc_ph2,cc_phL1,cc_phL2)が、レジスタに設定された任意の出力パターンを出力させるモード(以下パターンモード)と、レジスタに設定された値が制御信号出力周期でのトグル動作させるモード(以下トグルモード)を選択可能としている。   For the transfer clock input to the CCD, the ccph_mode register is provided in the timing generator, and the transfer clock (cc_ph1, cc_ph2, cc_phL1, cc_phL2) output within the control signal output cycle (vclk_interval) as described above is stored in the register. It is possible to select a mode for outputting an arbitrary output pattern set to 1 (hereinafter referred to as a pattern mode) and a mode for causing a value set in a register to perform a toggle operation in a control signal output cycle (hereinafter referred to as a toggle mode).

パターンモードでの動作では、転送クロックのパターン制御は前述したとおりシフトレジスタのビット長以下の制御しかできず、それ以上長い周期での転送クロック制御は不可能となる。   In the operation in the pattern mode, the transfer clock pattern control can only be controlled to be less than or equal to the bit length of the shift register as described above, and transfer clock control with a longer cycle is impossible.

よってそれより長い周期で転送クロックを制御する場合は、ccph_modeをトグルモードとし、制御信号出力周期(vclk_interval)で‘0’と‘1’がトグル動作するように制御する。   Therefore, when the transfer clock is controlled with a longer period, ccph_mode is set to toggle mode, and control is performed so that ‘0’ and ‘1’ toggle in the control signal output period (vclk_interval).

図2−3でその動作を示す。   The operation is shown in FIG.

ccph_modeをトグルモードで設定すると、水平同期信号(internal_SH)がSHジェネレータ001より入力されると、これに同期してタイミングジェネレータ002が動作を開始させ、タイミングジェネレータ002は転送クロックに関るシフトレジスタ(004−1,004−2)に対してレジスタ(003−1,003−2)の値ではなく、レジスタに設定された0ビット目の値を全てのシフトレジスタビットにロードする。   When ccph_mode is set in the toggle mode, when the horizontal synchronization signal (internal_SH) is input from the SH generator 001, the timing generator 002 starts the operation in synchronization with this, and the timing generator 002 shifts the shift register ( The value of the 0th bit set in the register is loaded into all the shift register bits, not the value of the register (003-1, 003-2) with respect to (004-1, 004-2).

よって始めの制御信号出力周期(vclk_interval)では各レジスタの0ビットに設定された値が連続して出力される(図2−3のcc_ph1,cc_phL1波形)。   Therefore, in the first control signal output cycle (vclk_interval), the value set in the 0 bit of each register is continuously output (waveforms cc_ph1, cc_phL1 in FIG. 2-3).

次の制御信号出力周期(vclk_interval)では、転送クロックに関るシフトレジスタ(004−1,004−2)に対してレジスタ(003−1,003−2)の値ではなく、レジスタに設定された0ビット目の値の負論理データを全てのシフトレジスタビットにロードする。   In the next control signal output cycle (vclk_interval), the shift register (004-1, 004-2) related to the transfer clock is set to the register instead of the value of the register (003-1, 003-2). Negative logic data of the 0th bit value is loaded to all shift register bits.

よって次の制御信号出力周期(vclk_interval)では各レジスタの0ビットに設定された負論理値が連続して出力される。   Therefore, in the next control signal output cycle (vclk_interval), the negative logic value set in the 0 bit of each register is continuously output.

この様に制御することにより、トグルモード時にはvclk_interval×2の周期まで転送クロックの周期を伸ばすことが可能であり、より遅い読み取りデバイスに関して制御が可能となる。   By controlling in this way, it is possible to extend the cycle of the transfer clock to the cycle of vclk_interval × 2 in the toggle mode, and it is possible to control a slower reading device.

本発明の第1実施例を示す図The figure which shows 1st Example of this invention 本発明の第1実施例の内部動作波形示す図The figure which shows the internal operation | movement waveform of 1st Example of this invention. 本発明の第1実施例の内部動作波形示す図The figure which shows the internal operation | movement waveform of 1st Example of this invention. 本発明の第1実施例の内部動作波形示す図The figure which shows the internal operation | movement waveform of 1st Example of this invention. 本発明の第1実施例の内部動作波形示す図The figure which shows the internal operation | movement waveform of 1st Example of this invention. 従来の読み取りデバイス制御を示す図Diagram showing conventional reading device control 従来の読み取りデバイス制御における制御波形を示す図The figure which shows the control waveform in the conventional reading device control CCDでの間引き加算読み取りの制御波形を示す図The figure which shows the control waveform of thinning addition reading with CCD

符号の説明Explanation of symbols

001 SHジェネレータ
002 タイミングジェネレータ
003 レジスタ群
004 シフトレジスタ群
005 遅延ロジック
001 SH generator 002 Timing generator 003 Register group 004 Shift register group 005 Delay logic

Claims (3)

読み取りデバイスに供給する水平同期信号(ラインリセット信号)を生成するSH信号生成手段、原振クロックに対しこれを分周し、1/N分周出力クロックを得るクロック分周手段、前記クロック分周手段より出力される分周された基準クロックに同期しかつ、前記SH信号生成手段により生成された水平同期信号に同期され、レジスタに設定された制御信号出力周期内で、複数のレジスタに設定された任意の出力パターンを出力させる複数のパターン信号出力手段を有し、読み取りデバイスに対する複数の制御信号およびそれに接続されるアナログサンプリング、A/Dコンバート手段の制御信号を、任意のパターンで出力可能とした読み取りデバイス制御信号生成回路。   SH signal generating means for generating a horizontal synchronizing signal (line reset signal) to be supplied to the reading device, clock dividing means for dividing the original clock and obtaining a 1 / N divided output clock, and the clock dividing Is synchronized with the frequency-divided reference clock output from the means and synchronized with the horizontal synchronizing signal generated by the SH signal generating means, and is set in a plurality of registers within the control signal output period set in the register. A plurality of pattern signal output means for outputting an arbitrary output pattern, and a plurality of control signals for the reading device and analog sampling connected thereto, and control signals for the A / D conversion means can be output in an arbitrary pattern. Read device control signal generation circuit. 前記複数のパターン信号出力手段の出力信号に対し、レジスタ設定された原振クロック数分遅延させる遅延手段を有し、読み取りデバイスの転送クロック信号およびA/Dコンバートクロック信号以外の読み取りデバイス制御信号は、レジスタに設定された原振クロック数分、任意に遅延させることが可能であることを特徴とする請求項1記載の読み取りデバイス制御信号生成回路。   The output signal of the plurality of pattern signal output means has a delay means for delaying by the number of original clocks set in the register, and reading device control signals other than the transfer clock signal and A / D conversion clock signal of the reading device are 2. The read device control signal generation circuit according to claim 1, wherein the read device control signal generation circuit can be arbitrarily delayed by the number of source clocks set in the register. レジスタに設定された制御信号出力周期内で出力される読み取りデバイスの転送クロック信号は、レジスタに設定された任意の出力パターンを出力させるモードと、レジスタに設定された或る特定ビットの値を制御信号出力周期でトグル動作させるモードを選択可能とすることを特徴とする請求項1記載の読み取りデバイス制御信号生成回路。   The transfer clock signal of the reading device that is output within the control signal output period set in the register controls the mode in which an arbitrary output pattern set in the register is output, and the value of a specific bit set in the register The reading device control signal generation circuit according to claim 1, wherein a mode for performing a toggle operation in a signal output cycle can be selected.
JP2003416320A 2003-12-15 2003-12-15 Scanning device control signal generating circuit Withdrawn JP2005176187A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003416320A JP2005176187A (en) 2003-12-15 2003-12-15 Scanning device control signal generating circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003416320A JP2005176187A (en) 2003-12-15 2003-12-15 Scanning device control signal generating circuit

Publications (1)

Publication Number Publication Date
JP2005176187A true JP2005176187A (en) 2005-06-30

Family

ID=34735540

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003416320A Withdrawn JP2005176187A (en) 2003-12-15 2003-12-15 Scanning device control signal generating circuit

Country Status (1)

Country Link
JP (1) JP2005176187A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009130827A (en) * 2007-11-27 2009-06-11 Konica Minolta Business Technologies Inc Solid imaging apparatus
US7916364B2 (en) 2006-10-31 2011-03-29 Brother Kogyo Kabushiki Kaisha Image reading device
JP2015530785A (en) * 2012-07-26 2015-10-15 オリーブ・メディカル・コーポレーション Camera system using minimum area monolithic CMOS image sensor

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7916364B2 (en) 2006-10-31 2011-03-29 Brother Kogyo Kabushiki Kaisha Image reading device
JP2009130827A (en) * 2007-11-27 2009-06-11 Konica Minolta Business Technologies Inc Solid imaging apparatus
JP2015530785A (en) * 2012-07-26 2015-10-15 オリーブ・メディカル・コーポレーション Camera system using minimum area monolithic CMOS image sensor

Similar Documents

Publication Publication Date Title
US8212908B2 (en) Timing generator and image scanning apparatus
JP2007300467A (en) Solid-state imaging apparatus
JP4045454B2 (en) Analog front-end circuit and electronic equipment
US20020036805A1 (en) Image forming appataus
JP2006222750A (en) Analog front-end circuit and electronic apparatus
JP3052767B2 (en) Image signal processing device for image sensor
US7394579B2 (en) Data writing apparatus and image processing apparatus
JP4650548B2 (en) Image reading device
JP2005176187A (en) Scanning device control signal generating circuit
US6204910B1 (en) Image processing system operable at high speed
JP4379380B2 (en) Horizontal register transfer pulse generation circuit and imaging apparatus
JP4059500B2 (en) Image reading device
JP3253833B2 (en) Image processing device
JP2006222688A (en) Image reader and image forming apparatus
JP2009246653A (en) Head separation type camera
JP5053827B2 (en) Drive signal generating apparatus and image reading apparatus
US20080018742A1 (en) Analog front-end device and imaging apparatus
JP4361476B2 (en) Image reading apparatus and image forming apparatus
JP2000152030A (en) Video signal processing circuit
JPH10290399A (en) Image reader
JP6642147B2 (en) Synchronization device, synchronization method, and program
JP2830028B2 (en) Reading circuit of facsimile machine
JP2965807B2 (en) Image signal processing method
JP2010245664A (en) Image processor, method of adjusting sampling position, and a/d converter
JPH10233900A (en) Image reader

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20070306