JP4803298B2 - Clock generation circuit - Google Patents

Clock generation circuit Download PDF

Info

Publication number
JP4803298B2
JP4803298B2 JP2009256827A JP2009256827A JP4803298B2 JP 4803298 B2 JP4803298 B2 JP 4803298B2 JP 2009256827 A JP2009256827 A JP 2009256827A JP 2009256827 A JP2009256827 A JP 2009256827A JP 4803298 B2 JP4803298 B2 JP 4803298B2
Authority
JP
Japan
Prior art keywords
clock
clock signal
circuit
clock pulse
additional
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 - Fee Related
Application number
JP2009256827A
Other languages
Japanese (ja)
Other versions
JP2010035225A (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.)
Epson Imaging Devices Corp
Original Assignee
Epson Imaging Devices Corp
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 Epson Imaging Devices Corp filed Critical Epson Imaging Devices Corp
Priority to JP2009256827A priority Critical patent/JP4803298B2/en
Publication of JP2010035225A publication Critical patent/JP2010035225A/en
Application granted granted Critical
Publication of JP4803298B2 publication Critical patent/JP4803298B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Processing (AREA)

Description

本発明は、クロック発生回路に関し、特にパイプライン処理を行う画像処理装置などに
おいて不足するクロックパルスを内部で生成する回路に関する。
The present invention relates to a clock generation circuit, and more particularly to a circuit that internally generates a clock pulse that is insufficient in an image processing apparatus that performs pipeline processing.

液晶パネルその他の表示パネルを備え、静止画や動画を表示する画像表示装置において
、入力画像データに対して自動画像補正処理や色変換処理などを行ってから画像を表示す
る手法が知られている。自動画像補正処理とは、入力される動画像の情報から自動的に画
像補正のための統計情報を取得し、現在入力さえている動画像に適した画像補正を自動で
行う手法である(特許文献1を参照)。また、色変換処理とは、液晶表示パネルなどの表
示デバイスの特性に応じて入力画像データの特性を調整する手法である(特許文献2を参
照)。
In an image display device that includes a liquid crystal panel or other display panel and displays a still image or a moving image, a method of displaying an image after performing automatic image correction processing, color conversion processing, or the like on input image data is known . Automatic image correction processing is a method of automatically obtaining statistical information for image correction from input moving image information and automatically performing image correction suitable for the currently input moving image (patent) Reference 1). Color conversion processing is a method of adjusting the characteristics of input image data in accordance with the characteristics of a display device such as a liquid crystal display panel (see Patent Document 2).

特開2004−274641号公報Japanese Patent Application Laid-Open No. 2004-274641 特開平9−271036号公報Japanese Patent Laid-Open No. 9-271036

これらの処理は一般的にパイプライン処理により行われるため、処理の段数分のクロッ
クパルスが必要とされる。しかし、インタフェースによっては、処理の対象となる画像デ
ータの画素に対応する数のクロックパルスしか入力されないことがあり、そのような場合
には外部からダミークロック信号を供給する必要がある。
Since these processes are generally performed by pipeline processing, clock pulses corresponding to the number of processing stages are required. However, depending on the interface, only the number of clock pulses corresponding to the pixels of the image data to be processed may be input. In such a case, it is necessary to supply a dummy clock signal from the outside.

本発明は、パイプライン処理を行う画像処理装置において、外部からのダミークロック
信号入力の必要なく、不足分のクロックパルスを内部的に自動生成するクロック生成回路
を提供することを課題とする。
It is an object of the present invention to provide a clock generation circuit that automatically generates an insufficient number of clock pulses internally without the need for external dummy clock signal input in an image processing apparatus that performs pipeline processing.

本発明の1つの観点では、クロック発生回路は、必要なクロック数に応じた遅延時間に
渡り入力クロック信号を遅延させて遅延クロック信号を生成する遅延回路と、前記入力ク
ロック信号と前記遅延クロック信号とに基づいて追加クロックパルスを出力する出力回路
と、を備え、前記出力回路は、前記入力クロック信号中にクロックパルスが存在する期間
を示すイネーブル信号に基づいて、前記クロックパルスが存在しない期間のみ前記遅延ク
ロック信号を前記追加クロックパルスとして出力する。
In one aspect of the present invention, the clock generation circuit delays an input clock signal over a delay time corresponding to the required number of clocks to generate a delayed clock signal, the input clock signal, and the delayed clock signal. And an output circuit that outputs an additional clock pulse based on the output clock, the output circuit only based on an enable signal indicating a period in which the clock pulse is present in the input clock signal. The delayed clock signal is output as the additional clock pulse.

上記のクロック発生回路は、入力クロック信号に対して追加クロック信号を生成するた
めに使用される。例えば、画像表示装置における自動画像補正回路や色変換回路などのパ
イプライン処理を行う構成において、入力画像データ分の入力クロックではクロックが不
足する場合に、追加クロック信号を生成するために好適に用いられる。遅延回路により、
必要なクロック数に対応する遅延時間分入力クロック信号を遅延させて遅延クロック信号
を生成し、入力クロック信号と遅延クロック信号とに基づいて追加クロックパルスを出力
することにより、クロック数を増加させる。
The clock generation circuit is used to generate an additional clock signal with respect to the input clock signal. For example, in a configuration that performs pipeline processing such as an automatic image correction circuit or a color conversion circuit in an image display device, it is preferably used to generate an additional clock signal when the input clock for the input image data is insufficient. It is done. Delay circuit
The input clock signal is delayed by a delay time corresponding to the required number of clocks to generate a delayed clock signal, and an additional clock pulse is output based on the input clock signal and the delayed clock signal, thereby increasing the number of clocks.

具体的には、出力回路は、入力クロック信号中にクロックパルスが存在する間は入力ク
ロック信号を出力し、入力クロック信号中にクロックパルスが存在しない期間のみ遅延回
路により生成したクロック信号を出力する。これにより、遅延回路によりノイズや不要信
号が生成された場合に、その影響を最小限にとどめることができる。
Specifically, the output circuit outputs the input clock signal while the clock pulse is present in the input clock signal, and outputs the clock signal generated by the delay circuit only during the period when the clock pulse is not present in the input clock signal. . As a result, when noise and unnecessary signals are generated by the delay circuit, the influence can be minimized.

本発明の他の観点では、クロック発生回路は、入力クロック信号中のクロックパルスを
所定時間遅延させた追加クロックパルスを生成する複数段の追加クロックパルス生成部と
、前記複数の追加クロックパルス生成部から出力された追加クロックパルスを順に出力す
る出力回路と、を備え、第1段の前記追加クロックパルス生成部は、入力クロック信号に
含まれる最後のクロックパルスを示す最終クロック信号を入力信号とし、前記第1段に続
く第2段以降の前記追加クロックパルス生成部は、それぞれ前段の追加クロックパルス生
成部からの出力信号を入力信号とする。
In another aspect of the present invention, the clock generation circuit includes a plurality of additional clock pulse generation units that generate an additional clock pulse obtained by delaying a clock pulse in an input clock signal by a predetermined time, and the plurality of additional clock pulse generation units. An output circuit that sequentially outputs the additional clock pulses output from the first clock pulse generator, and the first clock pulse generator of the first stage uses the final clock signal indicating the last clock pulse included in the input clock signal as an input signal, The additional clock pulse generators in the second and subsequent stages following the first stage each take an output signal from the additional clock pulse generator in the previous stage as an input signal.

上記のクロック発生回路は、必要なクロック数に応じた段数だけ追加クロックパルス生
成部を設けることにより、追加のクロックパルスを生成する。追加クロックパルス生成部
の初段には、入力クロック信号の最後のクロックパルスを示す信号が入力され、それに基
づいて、各追加クロックパルス生成部毎に1つの追加クロックパルスを生成し、出力する
The above clock generation circuit generates an additional clock pulse by providing the additional clock pulse generation unit by the number of stages corresponding to the required number of clocks. A signal indicating the last clock pulse of the input clock signal is input to the first stage of the additional clock pulse generation unit. Based on the signal, one additional clock pulse is generated and output for each additional clock pulse generation unit.

上記のクロック発生回路の一態様は、前記入力クロック信号中にクロックパルスが存在
する期間を示すイネーブル信号に基づいて、前記クロックパルスが存在する期間には前記
入力クロック信号を出力し、前記クロックパルスが存在しない期間には前記出力回路から
の前記追加クロックパルスを出力する切替出力回路を備える。これにより、入力クロック
信号中にクロックパルスが存在する間は入力クロック信号が出力され、入力クロック信号
中にクロックパルスが存在しない期間には追加クロックパルスが出力される。
According to one aspect of the clock generation circuit, the input clock signal is output in a period in which the clock pulse exists based on an enable signal indicating a period in which the clock pulse exists in the input clock signal, and the clock pulse And a switching output circuit that outputs the additional clock pulse from the output circuit during a period in which no signal exists. As a result, the input clock signal is output while the clock pulse is present in the input clock signal, and the additional clock pulse is output during the period when the clock pulse is not present in the input clock signal.

本発明の他の観点では、クロック発生回路は、内部クロック信号を発生する内部クロッ
ク発生回路と、外部クロック信号中にクロックパルスが存在する期間を示すイネーブル信
号に基づいて、前記外部クロック信号中のクロックパルスが終了した後、前記内部クロッ
クパルスの数を計数するカウンタと、前記カウンタのカウント値が所定の追加クロック数
に到るまでの間、前記内部クロック信号のクロックパルスを追加クロックパルスとして出
力する追加クロックパルス発生回路と、を備える。
In another aspect of the present invention, the clock generation circuit includes: an internal clock generation circuit that generates an internal clock signal; and an enable signal that indicates a period during which a clock pulse is present in the external clock signal. After the clock pulse is finished, a counter that counts the number of internal clock pulses, and a clock pulse of the internal clock signal is output as an additional clock pulse until the count value of the counter reaches a predetermined number of additional clocks. And an additional clock pulse generating circuit.

上記のクロック発生回路では、入力クロック信号中にクロックパルスが存在しなくなる
と、カウンタにより必要な追加クロック数に対応する期間がカウントされ、その期間にわ
たって内部クロック信号が出力される。これにより、外部クロック信号中にクロックパル
スが存在しなくなった後に、追加クロックパルスを出力することができる。
In the above clock generation circuit, when there are no more clock pulses in the input clock signal, the counter counts the period corresponding to the required number of additional clocks, and outputs the internal clock signal over that period. As a result, an additional clock pulse can be output after the clock pulse no longer exists in the external clock signal.

上記のクロック発生回路の一態様は、前記イネーブル信号に基づいて、前記外部クロッ
ク信号中にクロックパルスが存在する期間には前記外部クロック信号を出力し、前記外部
クロック信号中にクロックパルスが存在しない期間には前記追加クロックパルスを出力す
る切替出力回路を備える。これにより、入力クロック信号中にクロックパルスが存在する
間は入力クロック信号が出力され、入力クロック信号中にクロックパルスが存在しない期
間には追加クロックパルスが出力される。
In one aspect of the clock generation circuit, the external clock signal is output during a period in which the external clock signal is present based on the enable signal, and no clock pulse is present in the external clock signal. A switching output circuit for outputting the additional clock pulse is provided in the period. As a result, the input clock signal is output while the clock pulse is present in the input clock signal, and the additional clock pulse is output during the period when the clock pulse is not present in the input clock signal.

本発明の他の観点では、上記のクロック発生回路から供給される前記追加クロックパル
スと、画像データと、当該画像データの同期信号と、に基づいて画像補正を行う画像表示
装置は、前記画像表示装置に入力される外部クロック信号にクロックパルスが存在しない
場合、前記追加クロックパルスにより出力された前記追加クロックパルスを前記外部クロ
ック信号として供給する。
In another aspect of the present invention, an image display device that performs image correction based on the additional clock pulse supplied from the clock generation circuit, image data, and a synchronization signal of the image data is the image display device. When there is no clock pulse in the external clock signal input to the apparatus, the additional clock pulse output by the additional clock pulse is supplied as the external clock signal.

上記の画像表示装置によれば、画像データ分の同期信号しか入力されない場合でも、ク
ロック発生回路が供給する追加クロックパルスを外部クロック信号として使用し、画像の
補正及び表示を行うことができる。
According to the above image display device, even when only the synchronization signal for the image data is input, the additional clock pulse supplied from the clock generation circuit can be used as the external clock signal to correct and display the image.

本発明を適用した画像表示装置の概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the image display apparatus to which this invention is applied. Xドライバの内部構成を示すブロック図である。It is a block diagram which shows the internal structure of X driver. AME回路の内部構成を示すブロック図である。It is a block diagram which shows the internal structure of an AME circuit. パイプライン処理における必要クロック数を説明する図である。It is a figure explaining the required clock number in a pipeline process. 第1実施例の追加クロック生成回路の概略構成を示す。1 shows a schematic configuration of an additional clock generation circuit according to a first embodiment. 第1実施例の変形例に係る追加クロック生成回路の概略構成を示す。6 shows a schematic configuration of an additional clock generation circuit according to a modification of the first embodiment. 第2実施例による追加クロック生成回路の概略構成を示す。The schematic structure of the additional clock generation circuit by 2nd Example is shown. 第2実施例による追加クロック生成回路のタイミングチャートである。It is a timing chart of the additional clock generation circuit by 2nd Example. 第3実施例による追加クロック生成回路の概略構成を示す。10 shows a schematic configuration of an additional clock generation circuit according to a third embodiment. 色変換回路の一例の内部構成を示すブロック図であるIt is a block diagram which shows the internal structure of an example of a color conversion circuit.

以下、図面を参照して本発明を実施するための最良の形態について説明する。   The best mode for carrying out the present invention will be described below with reference to the drawings.

[画像表示装置]
図1に、本発明を適用した画像表示装置の概略構成を示す。画像表示装置1は、MPU
2、MPUバス3、LCD(Liquid Crystal Display)パネル4、Xドライバ5及びYド
ライバ6を備える。画像表示装置1は、例えば携帯電話、デジタルスチルカメラなどの電
子機器に、動画又は静止画の表示部として搭載される。
[Image display device]
FIG. 1 shows a schematic configuration of an image display apparatus to which the present invention is applied. The image display device 1 is an MPU.
2, an MPU bus 3, an LCD (Liquid Crystal Display) panel 4, an X driver 5 and a Y driver 6. The image display device 1 is mounted as a moving image or still image display unit on an electronic device such as a mobile phone or a digital still camera.

MPUバス3は図示しない画像ソースなどに接続されており、画像ソースから画像デー
タ(例えばRGBデータ、以下「画像データRGB」と記す。)が入力される。また、M
PUバス3には、図示しないクロック発生回路により生成された外部クロック信号CLK
が入力されている。MPU2は、MPUバス3を介して各構成要素とコマンドの授受を行
うことにより、各構成要素を制御する。LCDパネル4は表示部として機能し、MPUバ
ス3に供給された画像データRGBが表示される。Xドライバ5は、表示すべき画像デー
タRGBに対応する表示電圧をLCDパネル4のセグメント電極に供給する。Yドライバ
6は、LCDパネル4のコモン電極に走査電圧を印加する。
The MPU bus 3 is connected to an image source (not shown) and the like, and image data (for example, RGB data, hereinafter referred to as “image data RGB”) is input from the image source. M
The PU bus 3 has an external clock signal CLK generated by a clock generation circuit (not shown).
Is entered. The MPU 2 controls each component by exchanging commands with each component via the MPU bus 3. The LCD panel 4 functions as a display unit, and the image data RGB supplied to the MPU bus 3 is displayed. The X driver 5 supplies a display voltage corresponding to the image data RGB to be displayed to the segment electrodes of the LCD panel 4. The Y driver 6 applies a scanning voltage to the common electrode of the LCD panel 4.

図2に、Xドライバ5の内部構成を示す。Xドライバ5は、MPUI/O12を介して
MPUバス3と接続されている。MPUI/O12はXドライバ5とMPUバス3との間
の入出力を行うものであり、MPUバス3及び内部バス10に接続されている。Xドライ
バ5内では、各構成要素が内部バス10を介して相互に接続されている。なお、Xドライ
バ5の外部にあるMPUバス3と、Xドライバ5内部にある内部バス10とを区別するた
め、MPUバス3を「外部バス」と呼ぶこともある。
FIG. 2 shows the internal configuration of the X driver 5. The X driver 5 is connected to the MPU bus 3 via the MPUI / O 12. The MPUI / O 12 performs input / output between the X driver 5 and the MPU bus 3, and is connected to the MPU bus 3 and the internal bus 10. In the X driver 5, the respective components are connected to each other via the internal bus 10. In order to distinguish between the MPU bus 3 outside the X driver 5 and the internal bus 10 inside the X driver 5, the MPU bus 3 may be referred to as an “external bus”.

具体的には、内部バス10は、バスホルダ14、コマンドデコーダ15、MPU制御回
路20などに接続されている。バスホルダ14は、内部バス10上の情報を保持する役割
を有する。コマンドデコーダ15は、MPUI/O12から入力されたデータをデコード
し、Xドライバ5の内部にある各制御回路の制御パラメータを設定、変更する。コマンド
デコーダ15はEEPROM16に接続されている。EEPROM16は、電源立ち上が
り直後などに、外部から各制御回路のパラメータ設定を行うためのデータを保持する。
Specifically, the internal bus 10 is connected to the bus holder 14, the command decoder 15, the MPU control circuit 20, and the like. The bus holder 14 has a role of holding information on the internal bus 10. The command decoder 15 decodes data input from the MPUI / O 12 and sets and changes control parameters of each control circuit in the X driver 5. The command decoder 15 is connected to the EEPROM 16. The EEPROM 16 holds data for setting parameters of each control circuit from the outside immediately after the power is turned on.

MPU制御回路20は、Xドライバ5の内部のMPUであり、Xドライバ5の内部の各
制御回路の制御を行う。具体的には、画像データの表示タイミングの制御、データの変換
及び制御などを行う。また、MPU制御回路は、自動画像補正回路としてのAME(Auto
Movie Enhancement)回路22、色変換回路などを備える。LCDパネル4に表示される
画像データRGBは、外部のMPUバス3からMPUI/O12を介して内部バス10に
供給され、さらにMPU制御回路20へ供給される。MPUバス3上の外部クロック信号
CLKも同様にMPUI/O12、内部バス10を介してMPU制御回路20へ供給され
る。また、MPU制御回路20は、追加クロック生成回路24を有する。追加クロック生
成回路24は、AME回路22などで行われるパイプライン処理のために不足するクロッ
クパルスを生成する機能を有するが、詳細は後述する。
The MPU control circuit 20 is an MPU inside the X driver 5 and controls each control circuit inside the X driver 5. Specifically, control of display timing of image data, conversion and control of data, and the like are performed. In addition, the MPU control circuit is an AME (Auto
Movie enhancement) circuit 22 and a color conversion circuit. Image data RGB displayed on the LCD panel 4 is supplied from the external MPU bus 3 to the internal bus 10 via the MPUI / O 12 and further supplied to the MPU control circuit 20. Similarly, the external clock signal CLK on the MPU bus 3 is also supplied to the MPU control circuit 20 via the MPUI / O 12 and the internal bus 10. Further, the MPU control circuit 20 has an additional clock generation circuit 24. The additional clock generation circuit 24 has a function of generating clock pulses that are insufficient for pipeline processing performed by the AME circuit 22 or the like, and details thereof will be described later.

内部バス10からMPU制御回路20へ入力された画像データRGBは、AME回路2
2などで処理された後、カラムアドレス制御回路31によるアドレス制御下でI/Oバッ
ファ33へ書き込まれ、I/Oバッファ33から表示データRAM35へ書き込まれる。
カラムアドレス制御回路31は、表示データRAM35のカラム(列)方向のアドレスを
制御する。具体的には、MPU制御回路20からI/Oバッファ33に入力された画像デ
ータRGBを、表示データRAM35内のどの位置に入力するかを制御する。ページアド
レス制御部32は、表示データRAM35のページアドレスを制御する。具体的には、表
示データRAM35のページアドレス線を選択し、画像データRGBの書き込み位置を制
御する。
The image data RGB input to the MPU control circuit 20 from the internal bus 10 is the AME circuit 2
2, the data is written to the I / O buffer 33 under address control by the column address control circuit 31, and is written from the I / O buffer 33 to the display data RAM 35.
The column address control circuit 31 controls an address in the column (column) direction of the display data RAM 35. Specifically, it controls where in the display data RAM 35 the image data RGB input from the MPU control circuit 20 to the I / O buffer 33 is input. The page address control unit 32 controls the page address of the display data RAM 35. Specifically, the page address line of the display data RAM 35 is selected and the writing position of the image data RGB is controlled.

ラインアドレス制御部34は、ブロック40から供給されるライン選択信号SELに基づ
いて、表示データRAM35の読み出しラインを制御する。即ち、ラインアドレス制御部
34により指定されたラインの画像データが表示データRAM35からグレー制御デコー
ダ36へ読み出される。グレー制御デコーダ36は、画像データRGBの表示階調の制御
回路であり、表示データRAM35から読み出された1ライン分の画像データのグレーレ
ベルに基づいて、画像データの階調値に対応する電圧レベルを決定する。なお、グレー制
御デコーダ36は、PWM、FRCなどの制御も行う。LCDドライバ回路37は、グレ
ー制御デコーダ36により決定された電圧レベルを、LCDパネル4のセグメント電極に
接続された端子SEG1〜SEG720へ出力する。
The line address control unit 34 controls the read line of the display data RAM 35 based on the line selection signal SEL supplied from the block 40. That is, the image data of the line designated by the line address control unit 34 is read from the display data RAM 35 to the gray control decoder 36. The gray control decoder 36 is a display gradation control circuit for the image data RGB, and a voltage corresponding to the gradation value of the image data based on the gray level of the image data for one line read from the display data RAM 35. Determine the level. The gray control decoder 36 also controls PWM, FRC, and the like. The LCD driver circuit 37 outputs the voltage level determined by the gray control decoder 36 to terminals SEG1 to SEG720 connected to the segment electrodes of the LCD panel 4.

ブロック40内のXドライバ制御回路41はXドライバの制御回路であり、複数のXド
ライバを使用して表示を行う場合に、他のXドライバの制御を行う。Yドライバ制御回路
42はYドライバ6の制御を行う。また、Yドライバ6を制御することにより、画像デー
タのLCDパネル4上での表示位置の制御も行う。
The X driver control circuit 41 in the block 40 is an X driver control circuit, and controls other X drivers when displaying using a plurality of X drivers. The Y driver control circuit 42 controls the Y driver 6. Further, the display position of the image data on the LCD panel 4 is also controlled by controlling the Y driver 6.

発振回路43はXドライバ5の内部の発振回路であり、内部クロック信号CLK_INを
発生する。表示制御が主目的であるため、内部クロック信号CLK_INは数百KHz程度
の低周波数である。これに対し、Xドライバ5外部のMPUバス3で使用する外部クロッ
ク信号CLKは通常数MHz程度である。内部クロック信号CLK_INはMPU制御回路
20へ供給される。また、ラインアドレス制御部34へ供給されるライン選択信号SELな
どは内部クロック信号CLK_INに基づいて生成される。
The oscillation circuit 43 is an internal oscillation circuit of the X driver 5 and generates an internal clock signal CLK_IN. Since display control is the main purpose, the internal clock signal CLK_IN has a low frequency of about several hundreds KHz. On the other hand, the external clock signal CLK used in the MPU bus 3 outside the X driver 5 is usually about several MHz. The internal clock signal CLK_IN is supplied to the MPU control circuit 20. Further, the line selection signal SEL and the like supplied to the line address control unit 34 are generated based on the internal clock signal CLK_IN.

[追加クロック生成回路]
次に、本発明の特徴点である追加クロック生成回路について説明する。まず、追加クロ
ックパルスの必要性について説明する。図4にAME処理などのパイプライン処理の様子
を模式的に示す。図示のように、入力データに対してP1〜Pnのn段のパイプライン処
理を実行するものとする。外部との入出力にMPUインタフェースを使用する場合、外部
のMPUバス3からの外部クロック信号CLKは入力データ分のクロックパルスしか含ま
ない。よって、追加のクロックパルスを生成しないとn段のパイプライン処理を実行する
ことができないという問題が生じる。そこで、本発明では、以下の方法により、追加クロ
ック生成回路24により追加クロックパルスを生成し、AME回路22などにおけるパイ
プライン処理に使用する。
[Additional clock generation circuit]
Next, an additional clock generation circuit that is a feature of the present invention will be described. First, the necessity of additional clock pulses will be described. FIG. 4 schematically shows the state of pipeline processing such as AME processing. As shown in the figure, it is assumed that n-stage pipeline processing of P1 to Pn is performed on input data. When the MPU interface is used for external input / output, the external clock signal CLK from the external MPU bus 3 includes only clock pulses for input data. Therefore, there is a problem that n-stage pipeline processing cannot be executed unless an additional clock pulse is generated. Therefore, in the present invention, an additional clock pulse is generated by the additional clock generation circuit 24 by the following method and used for pipeline processing in the AME circuit 22 and the like.

(第1実施例)
次に、追加クロック生成回路の第1実施例について説明する。第1の生成方法は、n段
分のディレイ(遅延回路)を設け、外部から供給される外部クロック信号CLKを遅延さ
せて追加クロックパルスを生成する。
(First embodiment)
Next, a first embodiment of the additional clock generation circuit will be described. In the first generation method, an n-stage delay (delay circuit) is provided, and an external clock signal CLK supplied from the outside is delayed to generate an additional clock pulse.

図5に、第1実施例の追加クロック生成回路の概略構成を示す。図5(a)は第1実施
例の追加クロック生成回路24の回路構成を示し、図5(b)はタイミングチャートを示
す。図5(a)に示すように、追加クロック生成回路24は、ディレイ(遅延回路)20
1と、OR回路202により構成される。外部クロック信号CLKはディレイ201及び
OR回路202へ入力される。ディレイ201の遅延時間は必要な追加クロックパルスの
数に応じて決定される。つまり、n段分のパイプライン処理のためにn個のクロックパル
スを生成する必要がある場合、ディレイ201の遅延時間はクロックパルスn個分に対応
する。図5(b)に示すようにディレイ201から出力される遅延クロック信号D_CLKは
外部クロック信号CLK中のクロックパルスが終了した後にクロックパルスを有している
。よって、OR回路202からの出力クロック信号O_CLKは外部クロック信号CLKにお
けるクロックパルスの終了後にもクロックパルスを有するようになる。外部クロック信号
CLKにおけるクロックパルスの終了後に出力されるクロックパルスが追加分のクロック
パルスに相当する。よって、上記の画像表示装置における外部クロック信号CLKに基づ
いて、パイプライン処理に必要な不足分の追加クロックパルスを生成することができる。
FIG. 5 shows a schematic configuration of the additional clock generation circuit of the first embodiment. FIG. 5A shows a circuit configuration of the additional clock generation circuit 24 of the first embodiment, and FIG. 5B shows a timing chart. As shown in FIG. 5A, the additional clock generation circuit 24 includes a delay (delay circuit) 20.
1 and an OR circuit 202. The external clock signal CLK is input to the delay 201 and the OR circuit 202. The delay time of the delay 201 is determined according to the number of necessary additional clock pulses. That is, when it is necessary to generate n clock pulses for pipeline processing for n stages, the delay time of the delay 201 corresponds to n clock pulses. As shown in FIG. 5B, the delayed clock signal D_CLK output from the delay 201 has a clock pulse after the clock pulse in the external clock signal CLK is completed. Therefore, the output clock signal O_CLK from the OR circuit 202 has a clock pulse even after the end of the clock pulse in the external clock signal CLK. A clock pulse output after the end of the clock pulse in the external clock signal CLK corresponds to an additional clock pulse. Therefore, a shortage of additional clock pulses necessary for pipeline processing can be generated based on the external clock signal CLK in the image display device.

図6に、第1実施例の変形例に係る追加クロック生成回路24aの概略構成を示す。こ
の変形例はノイズ除去機能を有するものである。図5に示す追加クロック生成回路24で
は、ディレイ201内でノイズや不要信号が発生するとそれがそのまま出力に現れてしま
う。そこで、変形例では、外部クロック信号CLK中にクロックパルスが存在する間はそ
れを出力し、外部クロック信号CLK中にクロックパルスが存在しなくなった後にのみデ
ィレイで生成したクロックパルスを出力する。
FIG. 6 shows a schematic configuration of an additional clock generation circuit 24a according to a modification of the first embodiment. This modification has a noise removal function. In the additional clock generation circuit 24 shown in FIG. 5, if noise or an unnecessary signal is generated in the delay 201, it appears as it is in the output. Therefore, in the modification, the clock pulse is output while the external clock signal CLK exists, and the clock pulse generated by the delay is output only after the clock pulse does not exist in the external clock signal CLK.

具体的には、変形例による追加クロック生成回路24aは、ディレイ211と、AND
回路212と、OR回路213とを備える。外部クロック信号CLKはディレ211及び
OR回路213へ入力される。また、ディレイ211から出力される遅延クロック信号D_
CLKはAND回路212へ入力される。AND回路212の反転入力端子には、図6(
b)に示すように、外部クロック信号CLK中にクロックパルスが存在する期間を示すイ
ネーブル信号D_Enbが入力される。ディレイ211から出力される遅延クロック信号D_C
LKはAND回路212によりゲートされ、OR回路213へ出力される。これにより、外
部クロック信号CLK中にクロックパルスが存在する期間中は、ディレイ211から出力
される遅延クロック信号D_CLKの出力はAND回路212により停止され、外部クロック
信号CLKがOR回路213から出力クロック信号O_CLKとして出力される。一方、外部
クロック信号CLK中にクロックパルスが存在しなくなると、遅延クロック信号D_CLKは
AND回路212を通過し、OR回路213から出力クロック信号O_CLKとして出力され
る。このように、外部クロック信号CLKにクロックパルスが存在する間は遅延クロック
信号D_CLKを使用しないことにより、ノイズに強い回路とすることができる。
Specifically, the additional clock generation circuit 24a according to the modified example includes a delay 211, AND AND
A circuit 212 and an OR circuit 213 are provided. The external clock signal CLK is input to the delay 211 and the OR circuit 213. The delayed clock signal D_ output from the delay 211
CLK is input to the AND circuit 212. The inverting input terminal of the AND circuit 212 is connected to FIG.
As shown in b), an enable signal D_Enb indicating a period in which a clock pulse exists in the external clock signal CLK is input. Delayed clock signal D_C output from delay 211
LK is gated by the AND circuit 212 and output to the OR circuit 213. As a result, during the period when the clock pulse exists in the external clock signal CLK, the output of the delayed clock signal D_CLK output from the delay 211 is stopped by the AND circuit 212, and the external clock signal CLK is output from the OR circuit 213. Output as O_CLK. On the other hand, when there is no clock pulse in the external clock signal CLK, the delayed clock signal D_CLK passes through the AND circuit 212 and is output from the OR circuit 213 as the output clock signal O_CLK. In this way, a circuit that is resistant to noise can be obtained by not using the delayed clock signal D_CLK while a clock pulse is present in the external clock signal CLK.

(第2実施例)
次に、第2実施例による追加クロック生成回路の概略構成を図7に示す。第2実施例に
よる追加クロック回路は、イベントドリブンタイプの回路構成であり、3段の構成により
3個の追加クロックパルスを生成する。図7に示すように、追加クロック回路24bは、
3つのSRラッチ回路SR1〜SR3と、ディレイ221〜225と、OR回路226に
より構成される。SRラッチ回路とディレイの組み合わせを3段設けることにより、3個
の追加クロックパルスを生成する。具体的には、SRラッチ回路の出力を、ディレイを介
して入力へ戻す構成とする。SRラッチ回路の入出力を図8(b)に示す。
(Second embodiment)
Next, FIG. 7 shows a schematic configuration of the additional clock generation circuit according to the second embodiment. The additional clock circuit according to the second embodiment has an event driven type circuit configuration, and generates three additional clock pulses by a three-stage configuration. As shown in FIG. 7, the additional clock circuit 24b
It is composed of three SR latch circuits SR1 to SR3, delays 221 to 225, and an OR circuit 226. Three additional clock pulses are generated by providing three combinations of SR latch circuits and delays. Specifically, the output of the SR latch circuit is returned to the input through a delay. The input / output of the SR latch circuit is shown in FIG.

図8(a)に追加クロック生成回路24bのタイミングチャートを示す。初段のSR回
路SR1の入力を、外部クロック信号CLKの最後のクロックパルスを示す信号(「最終
クロック信号」と呼ぶ。)とすることにより、ディレイ221の遅延時間だけ遅れた位置
にクロックパルスを有する追加クロック信号CLK_ADD1が得られる。追加クロック信号
CLK_ADD1を、ディレイ222を介して次段のSRラッチ回路SR2の入力とし、追加
クロック信号CLK_ADD2を生成する。さらに、追加クロック信号CLK_ADD2を次段のS
Rラッチ回路SR3の入力とし、追加クロック信号CLK_ADD3を生成する。OR回路2
26は、追加クロック信号CLK_ADD1〜CLK_ADD3に含まれる全てのクロックパルスを
含む追加クロック信号A_CLKを出力する。なお、図7では、SRラッチ回路の3段構成に
より3個の追加クロックパルスを生成する例を示したが、同様にSRラッチ回路をn段構
成とすれば、n個の追加クロックパルスが得られる。
FIG. 8A shows a timing chart of the additional clock generation circuit 24b. By setting the input of the SR circuit SR1 in the first stage as a signal indicating the last clock pulse of the external clock signal CLK (referred to as “final clock signal”), the clock pulse is provided at a position delayed by the delay time of the delay 221. An additional clock signal CLK_ADD1 is obtained. The additional clock signal CLK_ADD1 is input to the next stage SR latch circuit SR2 through the delay 222, and the additional clock signal CLK_ADD2 is generated. Further, the additional clock signal CLK_ADD2 is sent to the next stage S.
An additional clock signal CLK_ADD3 is generated as an input to the R latch circuit SR3. OR circuit 2
26 outputs an additional clock signal A_CLK including all clock pulses included in the additional clock signals CLK_ADD1 to CLK_ADD3. FIG. 7 shows an example in which three additional clock pulses are generated by the three-stage configuration of the SR latch circuit. Similarly, if the SR latch circuit has the n-stage configuration, n additional clock pulses are obtained. It is done.

上記の追加クロック生成回路24bをMPU制御回路20に適用した場合、外部クロッ
ク信号CLKにクロックパルスが存在する期間を示すイネーブル信号D_Enbに基づいて最
終クロック信号を生成し、これを追加クロック生成回路24bへ入力し、追加クロック信
号A_CLKを得る。そして、MPU制御回路20は、イネーブル信号D_Enbに基づいて、外
部クロック信号CLKにクロックパルスが存在しなくなった時点で、追加クロック信号A
_CLKに出力を切り換えればよい。
When the above additional clock generation circuit 24b is applied to the MPU control circuit 20, a final clock signal is generated based on an enable signal D_Enb indicating a period in which a clock pulse exists in the external clock signal CLK, and this is generated as an additional clock generation circuit 24b. To obtain an additional clock signal A_CLK. Based on the enable signal D_Enb, the MPU control circuit 20 adds the additional clock signal A when the external clock signal CLK no longer has a clock pulse.
Switch output to _CLK.

(第3実施例)
第3実施例による追加クロック生成回路の概略構成を図9に示す。第3実施例は、内部
クロック信号を用いて追加クロックパルスを生成するものである。前述のように、図2に
示すMPU制御回路20には、外部のMPUバス3から外部クロック信号CLKが入力さ
れるとともに、内部の発振回路40により生成された内部クロック信号CLK_INが入力
されている。よって、外部クロック信号CLK中にクロックパルスが存在しなくなった後
は、内部クロック信号CLK_INを利用して追加クロックパルスを生成する。
(Third embodiment)
FIG. 9 shows a schematic configuration of the additional clock generation circuit according to the third embodiment. In the third embodiment, an additional clock pulse is generated using an internal clock signal. As described above, the MPU control circuit 20 shown in FIG. 2 receives the external clock signal CLK from the external MPU bus 3 and the internal clock signal CLK_IN generated by the internal oscillation circuit 40. . Therefore, after the clock pulse no longer exists in the external clock signal CLK, an additional clock pulse is generated using the internal clock signal CLK_IN.

図9(a)に示すように、第3実施例による追加クロック生成回路24cは、発振回路
231と、カウンタ232と、デコーダ233と、AND回路234とを備える。なお、
図2に示すXドライバ5に適用した場合、発振回路231は図2に示す内部発振回路43
により構成される。発振回路231が生成する内部クロック信号CLK_INはAND回路
234へ入力され、その反転信号がカウンタ232へ入力される。図9(b)のタイミン
グチャートに示すように、カウンタ232はイネーブル信号D_Enbを受けてカウントを開
始する。イネーブル信号D_Enbは外部クロック信号CLK中にクロックパルスが存在する
期間を示しているので、カウンタ232は、外部クロック信号CLKにクロックパルスが
存在しなくなったときに、内部クロック信号CLK_INの反転信号/CLK_INのカウント
を開始する。デコーダ233は、必要な追加クロック数nを予め記憶しており、カウンタ
232によるカウント値(Counter_Address)が追加クロック数n(図9(b)の例では
「4」)に達すると、カウンタ232のカウント動作を停止させるとともに、カウンタ2
32のカウント動作を行った期間を示すゲート信号GATE_CをAND回路234へ供給する
。よって、AND回路234は、外部クロック信号CLKにクロックパルスが無くなった
後、所定の追加クロック数nに対応する数だけ内部クロック信号CLK_INのクロックパ
ルスを含む追加クロック信号ADD_CLKを出力する。よって、MPU制御回路20は、外
部クロック信号CLKにクロックパルスが無くなった時点で、追加クロック信号ADD_C
LKに出力を切り換えればよい。
As shown in FIG. 9A, the additional clock generation circuit 24c according to the third embodiment includes an oscillation circuit 231, a counter 232, a decoder 233, and an AND circuit 234. In addition,
When applied to the X driver 5 shown in FIG. 2, the oscillation circuit 231 is the internal oscillation circuit 43 shown in FIG.
Consists of. The internal clock signal CLK_IN generated by the oscillation circuit 231 is input to the AND circuit 234 and the inverted signal thereof is input to the counter 232. As shown in the timing chart of FIG. 9B, the counter 232 receives the enable signal D_Enb and starts counting. Since the enable signal D_Enb indicates a period in which a clock pulse is present in the external clock signal CLK, the counter 232 detects the inverted signal / CLK_IN of the internal clock signal CLK_IN when the external clock signal CLK no longer exists. Start counting. The decoder 233 stores the necessary additional clock number n in advance, and when the count value (Counter_Address) by the counter 232 reaches the additional clock number n (“4” in the example of FIG. 9B), the counter 232 While stopping the count operation, counter 2
A gate signal GATE_C indicating the period during which the 32 count operations are performed is supplied to the AND circuit 234. Therefore, the AND circuit 234 outputs the additional clock signal ADD_CLK including the clock pulses of the internal clock signal CLK_IN by the number corresponding to the predetermined additional clock number n after the external clock signal CLK has no clock pulse. Therefore, the MPU control circuit 20 adds the additional clock signal ADD_C when the external clock signal CLK has no clock pulse.
Switch the output to LK.

[AME回路]
次に、図2に示すAME回路22の例を説明する。上記の追加クロック生成回路はAM
E回路22によるパイプライン処理で不足するn個のクロックパルスを生成するものであ
り、生成された追加クロックパルスはAME回路22内で使用される。
[AME circuit]
Next, an example of the AME circuit 22 shown in FIG. 2 will be described. The above additional clock generation circuit is AM
The n clock pulses that are insufficient in the pipeline processing by the E circuit 22 are generated, and the generated additional clock pulses are used in the AME circuit 22.

図3にAME回路22の内部構成を示す。AME回路22は、レジスタ部113と、統
計値算出部117と、画像補正ブロック150a、150bと、マルチプレクサ(Multip
lexer)121と、を備えている。AME回路22は、静止画や動画などの画像データを
取得し、これらの画像データをフレームごとに自動的に画像補正する回路である。AME
回路22は、主に、表示される画像を強調(エンハンス)する画像補正を行う。
FIG. 3 shows the internal configuration of the AME circuit 22. The AME circuit 22 includes a register unit 113, a statistical value calculation unit 117, image correction blocks 150a and 150b, and a multiplexer (Multip
lexer) 121. The AME circuit 22 is a circuit that acquires image data such as a still image and a moving image and automatically corrects the image data for each frame. AME
The circuit 22 mainly performs image correction to enhance (enhance) the displayed image.

AME回路22に対しては、MPU制御回路20からクロック信号CLK1が入力され
る。ここで、クロック信号CLK1は、上述の追加クロックパルスを含む信号である。即
ち、MPU制御回路20は、外部クロック信号CLKにクロックパルスが存在する期間中
はそのクロックパルスをクロック信号CLK1としてAME回路22へ供給し、外部クロ
ック信号CLKにクロックパルスが存在しなくなると、追加クロック生成回路24により
生成した追加クロックパルスをクロック信号CLK1としてAME回路22へ供給する。
A clock signal CLK 1 is input from the MPU control circuit 20 to the AME circuit 22. Here, the clock signal CLK1 is a signal including the above-described additional clock pulse. That is, the MPU control circuit 20 supplies the clock pulse to the AME circuit 22 as the clock signal CLK1 during a period in which the external clock signal CLK has a clock pulse, and adds when the clock pulse no longer exists in the external clock signal CLK. The additional clock pulse generated by the clock generation circuit 24 is supplied to the AME circuit 22 as the clock signal CLK1.

また、AME回路22には、画像データd1及び当該画像データの同期信号SY1(垂
直同期信号と水平同期信号を含む)も入力される。AME回路22内の処理部は、基本的
に同期信号SY1に対応するタイミングにて処理を行う。なお、入力される画像データd
1はRGB形式のデータであり、例えば24ビット/画素のデータであるものとする。
The AME circuit 22 also receives image data d1 and a synchronization signal SY1 (including a vertical synchronization signal and a horizontal synchronization signal) of the image data. The processing unit in the AME circuit 22 basically performs processing at a timing corresponding to the synchronization signal SY1. Input image data d
Reference numeral 1 denotes RGB format data, for example, data of 24 bits / pixel.

入力された画像データd1は、画像データd2aと画像データd2bに分割され、それ
ぞれ画像補正ブロック150aと画像補正ブロック150bに供給される。また、クロッ
ク信号CLK1はクロック信号CLK2aとクロック信号CLK2bに分配され、画像補
正ブロック150a、150bに供給される。
The input image data d1 is divided into image data d2a and image data d2b and supplied to the image correction block 150a and the image correction block 150b, respectively. The clock signal CLK1 is distributed to the clock signal CLK2a and the clock signal CLK2b and supplied to the image correction blocks 150a and 150b.

レジスタ部113は、レジスタを有しており、レジスタ内に画像補正量を設定値として
記憶している。そして、レジスタ部113は、供給される同期信号SY1のタイミングに
て、画像補正ブロック150a、50b内の複数の処理部、及びマルチプレクサ121に
、画像補正量に対応する設定値を出力する。
The register unit 113 has a register, and stores the image correction amount as a set value in the register. Then, the register unit 113 outputs a setting value corresponding to the image correction amount to the plurality of processing units in the image correction blocks 150a and 50b and the multiplexer 121 at the timing of the supplied synchronization signal SY1.

AME回路22は、2グループに分割された画像データd2a、d2bを画像補正ブロ
ック150aと画像補正ブロック150bの2ブロックにて画像補正する。具体的には、
画像補正ブロック150aと画像補正ブロック150bは、入力された画像データd2a
、d2bの各々に対して階調値のヒストグラム、輝度総和、及び彩度総和(即ち、「総和
データ」)を算出し、総和データを統計値算出部117に供給する。統計値算出部117
は、総和データから画像データの統計値を算出し、算出した統計値を画像補正ブロック1
50a、150bのそれぞれに供給する。そして、画像補正ブロック150aと画像補正
ブロック150bは、統計値算出部117から供給された統計値に基づいて画像補正量を
求め、この画像補正量を用いて画像データに対して画像補正を行う。画像補正ブロック1
50aと画像補正ブロック150bにて画像補正された画像データd6a、d6bは、マ
ルチプレクサ121に供給される。
The AME circuit 22 corrects the image data d2a and d2b divided into two groups with two blocks, an image correction block 150a and an image correction block 150b. In particular,
The image correction block 150a and the image correction block 150b are input image data d2a.
, D2b, a gradation value histogram, a luminance sum, and a saturation sum (ie, “sum data”) are calculated, and the sum data is supplied to the statistical value calculation unit 117. Statistical value calculation unit 117
Calculates the statistical value of the image data from the total data, and uses the calculated statistical value as the image correction block 1
It supplies to each of 50a, 150b. Then, the image correction block 150a and the image correction block 150b obtain an image correction amount based on the statistical value supplied from the statistical value calculation unit 117, and perform image correction on the image data using the image correction amount. Image correction block 1
The image data d6a and d6b subjected to image correction by the image correction block 150b and the image correction block 50a are supplied to the multiplexer 121.

マルチプレクサ121は、2つの画像データd6a、d6bを1つにまとめた画像デー
タS2を生成し、生成した画像データS2を出力する。この画像データS2はMPU制御
回路20内で必要な処理を施された後、I/Oバッファ33へ供給される。
The multiplexer 121 generates image data S2 in which the two image data d6a and d6b are combined into one, and outputs the generated image data S2. The image data S2 is supplied to the I / O buffer 33 after necessary processing is performed in the MPU control circuit 20.

次に、画像補正ブロック150a、50b、及び統計値算出部17にて実行される画像
処理を詳細に説明する。
Next, image processing executed by the image correction blocks 150a and 50b and the statistical value calculation unit 17 will be described in detail.

画像補正ブロック150aは、YUV変換部115aと、総和データ算出部116aと
、補正量算出部118aと、画像補正部119aと、RGB変換部120aと、を備えて
いる。同様に、画像補正ブロック150bは、YUV変換部115bと、総和データ算出
部116bと、補正量算出部118bと、画像補正部119bと、RGB変換部120b
と、を備えている。
The image correction block 150a includes a YUV conversion unit 115a, a total data calculation unit 116a, a correction amount calculation unit 118a, an image correction unit 119a, and an RGB conversion unit 120a. Similarly, the image correction block 150b includes a YUV conversion unit 115b, a total data calculation unit 116b, a correction amount calculation unit 118b, an image correction unit 119b, and an RGB conversion unit 120b.
And.

YUV変換部115a、115bには、それぞれ画像データd2a、d2bと、クロッ
ク信号CLK2a、CLK2bと、が入力される。YUV変換部115a、115bは、
RGB形式の画像データd2a、d2bをYUV形式に変換する(YUV変換)。YUV
変換部115a、115bは、YUV変換した画像データd3a、d3bを画像補正部1
19a、119bに供給すると共に、YUV変換した画像データd4a、d4bを総和デ
ータ算出部116a、116bに供給する。なお、YUV変換部115a、115bは、
画面の一部の領域(サンプリングエリアとも呼ぶ。)を抽出したデータを画像データd4
a、d4bとして総和データ算出部116a、116bに供給することができる。
Image data d2a and d2b and clock signals CLK2a and CLK2b are input to the YUV converters 115a and 115b, respectively. YUV converters 115a and 115b
The RGB format image data d2a and d2b are converted into YUV format (YUV conversion). YUV
The conversion units 115a and 115b convert the YUV converted image data d3a and d3b into the image correction unit 1.
The image data d4a and d4b subjected to YUV conversion are supplied to the sum data calculation units 116a and 116b. The YUV converters 115a and 115b are
Data obtained by extracting a partial area of the screen (also referred to as a sampling area) is image data d4.
A and d4b can be supplied to the sum data calculation units 116a and 116b.

総和データ算出部116a、116bは、取得した画像データd4a、d4bに係る総
和データを算出する。具体的には、総和データ算出部116a、116bは、階調値のヒ
ストグラムを生成すると共に、輝度総和と彩度総和を算出する。また、総和データ算出部
116a、116bは、供給される同期信号SY3a、SY3bのタイミングにてフレー
ム期間中に上記の処理を行う。このように算出された総和データSum_a、Sum_b
は、統計値算出部117に出力される。
The sum data calculation units 116a and 116b calculate sum data related to the acquired image data d4a and d4b. Specifically, the total data calculation units 116a and 116b generate gradation value histograms and calculate the luminance sum and the saturation sum. Further, the sum data calculation units 116a and 116b perform the above processing during the frame period at the timing of the supplied synchronization signals SY3a and SY3b. Sum data Sum_a and Sum_b calculated in this way
Is output to the statistical value calculation unit 117.

統計値算出部117は、取得した総和データSum_a、Sum_bに基づいて、画像
データd4a、d4bの輝度及び彩度に係る統計値を算出する。具体的には、統計値算出
部117は統計値として、輝度の最大値/最小値と、輝度及び彩度の平均値と、輝度の標
準偏差と、を算出する。統計値算出部117は、供給される同期信号SY4のタイミング
にて上記の処理を行うと共に、総和データ算出部116a、116bによる1つのフレー
ムの処理が終了した後に処理を行う。
The statistical value calculation unit 117 calculates statistical values related to the luminance and saturation of the image data d4a and d4b based on the acquired sum data Sum_a and Sum_b. Specifically, the statistical value calculation unit 117 calculates the maximum value / minimum value of luminance, the average value of luminance and saturation, and the standard deviation of luminance as statistical values. The statistical value calculation unit 117 performs the above processing at the timing of the supplied synchronization signal SY4, and performs the processing after the processing of one frame by the total data calculation units 116a and 116b is completed.

また、統計値算出部117は、レジスタ部113から供給される信号Set1に基づい
て、総和データSum_a、Sum_bから統計値Sta_a、Sta_bを算出する。
具体的には、信号Set1は、統計値算出部117が総和データ算出部116a及び11
6bから出力された総和データSum_a及びSum_bの各々を、後段の画像補正部1
19a、119bにおいて使用する統計値とする(以下、「統計値独立モード」とも呼ぶ
。)か、それらの総計を画像補正部119a、119bにおいて使用する統計値とする(
以下、「統計値総計モード」とも呼ぶ。)か、を示すモード情報を含んでいる。信号Se
t1が統計値総計モードを示している場合、統計値算出部117は、総和データSum_
a、Sum_bの各々から算出した統計値を総計した値を統計値として出力する。この場
合、統計値算出部117から出力される統計値Sta_aと統計値Sta_bは同一の値
となる。
Further, the statistical value calculation unit 117 calculates the statistical values Sta_a and Sta_b from the total data Sum_a and Sum_b based on the signal Set1 supplied from the register unit 113.
Specifically, for the signal Set1, the statistical value calculation unit 117 performs summation data calculation units 116a and 11a.
Each of the sum data Sum_a and Sum_b output from 6b is converted into an image correction unit 1 in the subsequent stage.
Statistical values used in 19a and 119b (hereinafter also referred to as “statistical value independent mode”), or a total of those values is used as a statistical value used in the image correction units 119a and 119b (
Hereinafter, it is also referred to as “statistical value total mode”. ) Or mode information indicating whether or not. Signal Se
When t1 indicates the statistical value total mode, the statistical value calculation unit 117 performs summation data Sum_
The total value of the statistical values calculated from each of a and Sum_b is output as a statistical value. In this case, the statistical value Sta_a and the statistical value Sta_b output from the statistical value calculation unit 117 are the same value.

一方、信号Set1が統計値独立モードを示している場合、統計値算出部117は、総
和データSum_a、Sum_bの各々から算出された統計値をそれぞれ画像補正部11
9a及び119bへ出力する。即ち、統計値算出部117は、総和データSum_a及び
Sum_bの各統計値を総計しない。よって、統計値算出部117から出力される統計値
Sta_aと統計値Sta_bは異なる値となる。
On the other hand, when the signal Set1 indicates the statistical value independent mode, the statistical value calculation unit 117 uses the statistical value calculated from each of the sum data Sum_a and Sum_b as the image correction unit 11.
Output to 9a and 119b. That is, the statistical value calculation unit 117 does not total the statistical values of the sum data Sum_a and Sum_b. Therefore, the statistical value Sta_a and the statistical value Sta_b output from the statistical value calculation unit 117 are different values.

以上のように算出された統計値Sta_a、Sta_bは、補正量算出部118a、1
18bに供給される。補正量算出部118a、118bは、取得した統計値Sta_a、
Sta_bに基づいて画像データに対して補正する強さ(即ち、画像補正量)を算出する
。具体的には、補正量算出部118a、118bは、レベル補正係数と、ガンマ補正量と
、コントラスト補正量と、彩度補正量と、を算出する。この際、補正量算出部118a、
118bは、レジスタ部113から供給される設定値Set2a、2bに基づいて画像補
正量を調整する。即ち、コントラスト補正などの各画像補正は、レジスタ部113に設定
された設定値に応じた強度で実行されることになる。こうして算出された画像補正量に対
応する信号Corr_a、Corr_bは、画像補正部119a、119bに出力される
The statistical values Sta_a and Sta_b calculated as described above are the correction amount calculation units 118a and 118a.
18b. The correction amount calculation units 118a and 118b are configured to obtain the acquired statistical value Sta_a,
Based on Sta_b, the strength for correcting the image data (that is, the image correction amount) is calculated. Specifically, the correction amount calculation units 118a and 118b calculate a level correction coefficient, a gamma correction amount, a contrast correction amount, and a saturation correction amount. At this time, the correction amount calculation unit 118a,
Reference numeral 118b adjusts the image correction amount based on the set values Set2a and 2b supplied from the register unit 113. That is, each image correction such as contrast correction is executed with an intensity corresponding to the set value set in the register unit 113. Signals Corr_a and Corr_b corresponding to the image correction amounts calculated in this way are output to the image correction units 119a and 119b.

画像補正部119a、119bには、レジスタ部113から供給される設定値Set3
a、Set3bと、補正量算出部118a、118bから供給される補正量Corr_a
、Corr_bと、YUV変換部115a、115bにてYUV変換された画像データd
3a、d3bと、が供給される。画像補正部119a、119bは、画像データd3a、
d3bに対して、補正量Corr_a、Corr_b及び設定値Set3a、Set3b
に基づいて画像補正を行う。具体的には、画像補正部119a、119bは、レベル補正
と、ガンマ補正と、コントラスト補正と、彩度補正と、を画像データd3a、d3bに対
して行う。こうして画像補正された画像データd5a、d5bは、RGB変換部120a
、120bに出力される。
The image correction units 119a and 119b have a set value Set3 supplied from the register unit 113.
a, Set3b and the correction amount Corr_a supplied from the correction amount calculation units 118a and 118b
Corr_b and image data d YUV-converted by the YUV converters 115a and 115b
3a and d3b are supplied. The image correction units 119a and 119b are connected to the image data d3a,
For d3b, correction amounts Corr_a, Corr_b and set values Set3a, Set3b
Image correction is performed based on the above. Specifically, the image correction units 119a and 119b perform level correction, gamma correction, contrast correction, and saturation correction on the image data d3a and d3b. The image data d5a and d5b subjected to the image correction in this way are converted into the RGB conversion unit 120a.
, 120b.

RGB変換部120a、120bは、供給されたYUV形式の画像データd5a、d5
bをRGB形式のデータに変換する(即ち、「RGB変換」)。RGB変換部120a、
120bは、RGB変換した画像データd6a、d6bをマルチプレクサ121に供給す
る。そして、マルチプレクサ121は、2つの画像データd6a、d6bを1つにまとめ
た画像データd7を出力する。
The RGB conversion units 120a and 120b are configured to supply the supplied YUV format image data d5a and d5.
b is converted into RGB format data (ie, “RGB conversion”). RGB converter 120a,
120b supplies the RGB-converted image data d6a and d6b to the multiplexer 121. Then, the multiplexer 121 outputs image data d7 in which the two image data d6a and d6b are combined into one.

[他の適用例]
上記の実施形態では、本発明による追加クロック生成回路24を用いてクロックパルス
が追加されたクロック信号をAME回路22に供給している。これ以外に、MPU制御回
路20が色変換回路を備える場合、クロックパルスが追加されたクロック信号を色変換回
路におけるパイプライン処理に使用することもできる。
[Other application examples]
In the above embodiment, the clock signal to which the clock pulse has been added is supplied to the AME circuit 22 using the additional clock generation circuit 24 according to the present invention. In addition, when the MPU control circuit 20 includes a color conversion circuit, a clock signal to which a clock pulse is added can be used for pipeline processing in the color conversion circuit.

図10(a)は、色変換回路300の一例の内部構成を示すブロック図である。図示の
ように、色変換回路300は、色変換演算部310と、階調補正部320と、減色処理部
330とを備える。色変換回路300へは、クロック信号CLK2と、画像データD1と
、レジスタ制御信号Scとが入力されている。ここで、クロック信号CLK2としては、
本発明の追加クロック生成回路によりクロックパルスが追加されたクロック信号が入力さ
れる。
FIG. 10A is a block diagram illustrating an internal configuration of an example of the color conversion circuit 300. As illustrated, the color conversion circuit 300 includes a color conversion calculation unit 310, a gradation correction unit 320, and a color reduction processing unit 330. The color conversion circuit 300 receives the clock signal CLK2, the image data D1, and the register control signal Sc. Here, as the clock signal CLK2,
A clock signal to which a clock pulse is added by the additional clock generation circuit of the present invention is input.

色変換演算部310は、外部から入力される画像データD1に対して所望の色特性への
色変換処理を施し、色変換後の画像データD2を階調補正部320へ供給する。入力され
る画像データD1は例えばRGB各色8ビットのデジタルデータであり、色変換演算部3
10は図10(b)に示す3×3のマトリクス演算により色変換処理を行う。
The color conversion calculation unit 310 performs color conversion processing to desired color characteristics on the image data D1 input from the outside, and supplies the image data D2 after color conversion to the gradation correction unit 320. The input image data D1 is digital data of 8 bits for each color of RGB, for example, and the color conversion calculation unit 3
10 performs color conversion processing by a 3 × 3 matrix operation shown in FIG.

階調補正部320は、色変換後の画像データD2に対して階調特性補正としてのガンマ
補正を行い、補正後の画像データD3を減色処理部330へ供給する。なお、階調補正部
20へは、レジスタ制御信号Scが入力されている。
The gradation correction unit 320 performs gamma correction as gradation characteristic correction on the color-converted image data D2, and supplies the corrected image data D3 to the color reduction processing unit 330. Note that the register control signal Sc is input to the gradation correction unit 20.

減色処理部330は、ガンマ補正後の画像データD3に対して減色処理を行う。ガンマ
補正後の画像データD3はRGB各色8ビットのデータであり、減色処理部30は例えば
その上位6ビットをビットスライスすることによりRGB各色6ビットのデータとし、下
位2ビットのデータに基づいてディザ処理を適用してRGB各色6ビット(ディザ処理に
より各色8ビット相当となっている)の画像データD10を画像表示装置102へ供給す
る。
The color reduction processing unit 330 performs color reduction processing on the image data D3 after gamma correction. The image data D3 after the gamma correction is 8-bit data for each RGB color, and the color reduction processing unit 30 converts the upper 6 bits into, for example, 6-bit data for each RGB color, and dithers based on the lower 2-bit data. By applying the processing, image data D10 of 6 bits for each color of RGB (corresponding to 8 bits for each color by the dither processing) is supplied to the image display device 102.

10 表示装置、 12 画像処理部、 14 液晶表示パネル、 16 ドライバ、
18 液晶表示部、20 RGB信号、 22 4色信号。
10 display device, 12 image processing unit, 14 liquid crystal display panel, 16 driver,
18 liquid crystal display, 20 RGB signals, 22 4 color signals.

Claims (3)

内部クロック信号を発生する内部クロック発生回路と、
外部クロック信号中にクロックパルスが存在する期間を示すイネーブル信号に基づいて
、前記外部クロック信号中のクロックパルスが終了した後、前記内部クロックパルスの数
を計数するカウンタと、
前記カウンタのカウント値が所定の追加クロック数に到るまでの間、前記内部クロック
信号のクロックパルスを追加クロックパルスとして出力する追加クロックパルス発生回路
と、を備えることを特徴とするクロック発生回路。
An internal clock generation circuit for generating an internal clock signal;
A counter that counts the number of the internal clock pulses after the clock pulse in the external clock signal ends based on an enable signal indicating a period in which the clock pulse exists in the external clock signal;
An additional clock pulse generation circuit that outputs a clock pulse of the internal clock signal as an additional clock pulse until the count value of the counter reaches a predetermined number of additional clocks.
前記イネーブル信号に基づいて、前記外部クロック信号中にクロックパルスが存在する
期間には前記外部クロック信号を出力し、前記外部クロック信号中にクロックパルスが存
在しない期間には前記追加クロックパルスを出力する切替出力回路を備えることを特徴と
する請求項1に記載のクロック発生回路。
Based on the enable signal, the external clock signal is output when a clock pulse is present in the external clock signal, and the additional clock pulse is output when a clock pulse is not present in the external clock signal. The clock generation circuit according to claim 1, further comprising a switching output circuit.
請求項1または請求項2に記載のクロック発生回路から供給される前記追加クロックパ
ルスと、画像データと、当該画像データの同期信号と、に基づいて画像補正を行う画像表
示装置であって、
前記画像表示装置に入力される外部クロック信号にクロックパルスが存在しない場合、
前記追加クロックパルスにより出力された前記追加クロックパルスを前記外部クロック信
号として供給することを特徴とする画像表示装置。
An image display device that performs image correction based on the additional clock pulse supplied from the clock generation circuit according to claim 1 or 2, image data, and a synchronization signal of the image data,
When there is no clock pulse in the external clock signal input to the image display device,
The image display apparatus, wherein the additional clock pulse output by the additional clock pulse is supplied as the external clock signal.
JP2009256827A 2009-11-10 2009-11-10 Clock generation circuit Expired - Fee Related JP4803298B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009256827A JP4803298B2 (en) 2009-11-10 2009-11-10 Clock generation circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009256827A JP4803298B2 (en) 2009-11-10 2009-11-10 Clock generation circuit

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2005085563A Division JP4432812B2 (en) 2005-03-24 2005-03-24 Clock generation circuit

Publications (2)

Publication Number Publication Date
JP2010035225A JP2010035225A (en) 2010-02-12
JP4803298B2 true JP4803298B2 (en) 2011-10-26

Family

ID=41739078

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009256827A Expired - Fee Related JP4803298B2 (en) 2009-11-10 2009-11-10 Clock generation circuit

Country Status (1)

Country Link
JP (1) JP4803298B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108398916A (en) * 2017-02-08 2018-08-14 欧姆龙株式会社 Control system and pulse outputting unit

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0523309A (en) * 1991-07-25 1993-02-02 Matsushita Electric Works Ltd Continuous blood pressure measuring apparatus
JPH0916283A (en) * 1995-07-04 1997-01-17 Toshiba Corp Cpu interface system
US6882206B2 (en) * 2003-04-30 2005-04-19 Eastman Kodak Company Enabling method to prevent glitches in waveform of arbitrary phase

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108398916A (en) * 2017-02-08 2018-08-14 欧姆龙株式会社 Control system and pulse outputting unit
CN108398916B (en) * 2017-02-08 2020-09-15 欧姆龙株式会社 Control system and pulse output device

Also Published As

Publication number Publication date
JP2010035225A (en) 2010-02-12

Similar Documents

Publication Publication Date Title
JP5307527B2 (en) Display device, display panel driver, and backlight driving method
US7133035B2 (en) Method and apparatus for driving liquid crystal display device
US8446358B2 (en) Image display device having memory property, driving control device and driving method to be used for same
US8035660B2 (en) Liquid crystal display with corrected image data and method of driving the liquid crystal display
US20030169248A1 (en) Liquid crystal display for improving dynamic contrast and a method for generating gamma voltages for the liquid crystal display
US20090085856A1 (en) Display Device
WO2007018219A1 (en) Display drive controller, display method, display, display monitor, and television receiver
JP2007033864A (en) Image processing circuit and image processing method
KR20120085076A (en) Data processing method, data driving circuit and display device including the same
US8228319B2 (en) Display device and controller driver for improved FRC technique
JP2009109835A (en) Liquid crystal display, lcd driver, and operation method for lcd driver
JP4523348B2 (en) Display device and driving method thereof
JP2003316334A (en) Display device and display driving circuit
US8009181B2 (en) Display method and display apparatus using this method
JP2008164850A (en) Method for adjusting reference voltage of liquid crystal display device
CN100552755C (en) Active matrix display device and relevant data adjusting module and driving method thereof
WO2007122825A1 (en) Display panel driving apparatus, display panel driving method, display apparatus, and television receiver
JP4803298B2 (en) Clock generation circuit
TWI479474B (en) Display device and data driving circuit thereof, driving method of display panel and display system
JP2011150241A (en) Display device, display panel drive, and method for driving display panel
JP4432812B2 (en) Clock generation circuit
JP2011013517A (en) Liquid crystal display device and method for driving the same
WO2011033888A1 (en) Image display device and image display method
JP2009180825A (en) Polarity control circuit, and liquid crystal display using the same
JP6646392B2 (en) Display driver

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20091124

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20110712

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110725

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 4803298

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140819

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees