JP2000278648A - Signal processing unit and its method - Google Patents

Signal processing unit and its method

Info

Publication number
JP2000278648A
JP2000278648A JP11082374A JP8237499A JP2000278648A JP 2000278648 A JP2000278648 A JP 2000278648A JP 11082374 A JP11082374 A JP 11082374A JP 8237499 A JP8237499 A JP 8237499A JP 2000278648 A JP2000278648 A JP 2000278648A
Authority
JP
Japan
Prior art keywords
output
input
signal
frequency
frequency signal
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.)
Pending
Application number
JP11082374A
Other languages
Japanese (ja)
Other versions
JP2000278648A5 (en
Inventor
Akira Shimizu
清水  晃
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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP11082374A priority Critical patent/JP2000278648A/en
Publication of JP2000278648A publication Critical patent/JP2000278648A/en
Publication of JP2000278648A5 publication Critical patent/JP2000278648A5/ja
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To stably convert scanning lines with a small capacity line memory. SOLUTION: This signal processing unit A is provided with a plurality of line memories 11, a crystal oscillator 34 that generates the reference clock of an output side, an input side horizontal frequency generating section 25 to measure the input horizontal frequency of image information on the basis of the reference clock, a section 24 for generating the output side reference frequency signal OH-PLL to generate a signal on the basis of the reference clock, and a controller 31 that sequentially writes the scanning lines of the image information to the line memories 11, decides the output side horizontal reference frequency signal OH-PLL generated on the basis of the measured input horizontal frequency IH and the magnification factor of the image information in a vertical direction, and controls the sequential read of the scanning lines from a plurality of the line memories 11 on the basis of the output side horizontal reference frequency signal OH-PLL.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、画像情報の走査線
を変換する信号処理装置および方法に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to a signal processing apparatus and method for converting a scanning line of image information.

【0002】[0002]

【従来の技術】従来、異なった形式の画像信号の間で走
査線変換の画像処理をおこなう信号処理装置が提供され
ている。従来の信号処理装置の構成を、図16を参照し
て説明する。この信号処理装置は、ラインメモリのみを
用いて走査線を変換するが、いわゆるVESA(video
electronics standards association)規格以外の信号
以外は対応することができない。
2. Description of the Related Art Conventionally, there has been provided a signal processing apparatus for performing image processing of scanning line conversion between image signals of different formats. The configuration of a conventional signal processing device will be described with reference to FIG. This signal processing device converts a scanning line using only a line memory.
electronics standards association) It cannot respond to signals other than the standards.

【0003】従来の信号処理装置は、走査線変換処理を
おこなう画像処理装置10と、制御パルスを発生する制
御パルス発生装置20と、この信号処理装置の各部を制
御する制御装置31とを有している。
A conventional signal processing device has an image processing device 10 for performing a scanning line conversion process, a control pulse generating device 20 for generating a control pulse, and a control device 31 for controlling each part of the signal processing device. ing.

【0004】画像処理装置10は、複数のラインメモリ
を備え、入力画像データに走査線処理を施し、変換後の
画像データを出力するものである。画像処理装置10
は、制御装置31に接続されたIIC(I2C)_BU
Sにより、画像の縦および横方向の変換率を設定され
る。画像処理装置10には、入力側水平周波数信号IH
の周期に応じて順にラインメモリに画像が書き込まれ、
出力側水平周波数信号OHの周期に応じて順にラインメ
モリから画像が読み出される。
[0004] The image processing apparatus 10 has a plurality of line memories, performs scanning line processing on input image data, and outputs converted image data. Image processing device 10
Is the IIC (I 2 C) _BU connected to the control device 31
S sets the vertical and horizontal conversion rates of the image. The image processing apparatus 10 includes an input-side horizontal frequency signal IH
The image is sequentially written to the line memory according to the cycle of
Images are sequentially read from the line memory in accordance with the cycle of the output side horizontal frequency signal OH.

【0005】画像処理装置10には、入力画像データ、
入力水平周波数信号IHに同期した入力側ドットクロッ
クICLK、入力側水平周波数信号IHに同期した書き
込みパルスWE、出力側水平基準周波数信号OH_PL
L(phase locked loop)に同期した出力側ドットクロ
ックOCLKが入力されている。画像処理装置10から
は、変換後の画像データが出力される。画像処理装置1
0は、画像の縦および横方向の変換率を設定するバスI
IC_BUSで制御装置31に接続されている。
The image processing apparatus 10 has input image data,
The input side dot clock ICLK synchronized with the input horizontal frequency signal IH, the write pulse WE synchronized with the input side horizontal frequency signal IH, the output side horizontal reference frequency signal OH_PL
An output side dot clock OCLK synchronized with L (phase locked loop) is input. The image processing apparatus 10 outputs the converted image data. Image processing device 1
0 is a bus I that sets the vertical and horizontal conversion rates of the image.
It is connected to the control device 31 by IC_BUS.

【0006】制御パルス発生装置20は、制御パルスを
発生するものであってロジック回路により構成されてい
る。制御パルス発生装置20は、書き込みパルスWEの
作成部21にて入力側水平周波数信号IHに同期した入
力側ドットクロックICLKに基づいて書き込みパルス
WEを作成する。制御パルス発生装置20は、読み出し
パルスREの作成部22にて出力側水平基準周波数信号
OH_PLLに同期した出力側ドットクロックOCLK
に基づいて、読み出しパルスREを作成するとともに、
出力側水平周波数信号OHおよび出力側垂直周波数信号
OVの作成部23にて出力側水平周波数信号OHおよび
出力側垂直周波数信号OVを発生する。制御パルス発生
装置20は、出力側水平基準周波数信号OH_PLLの
作成部24にて水晶発振器34からの出力側基準クロッ
クを分周して出力側水平基準周波数信号OH_PLLを
作成する。制御パルス発生装置20で作成される出力側
水平周波数信号OH、出力側垂直周波数信号OV、出力
側水平基準周波数信号OH_PLLは、入力側垂直周波
数信号IVによって強制的にリセットされる。なお、書
き込みパルスWEの作成部21、読み出しパルスREの
作成部22、出力側水平周波数信号OHおよび出力側垂
直周波数信号OVの作成部23および出力側水平基準周
波数信号OH_PLLの作成部24は、制御パルス発生
装置20の機能を機能ブロックとして表したものであ
る。
The control pulse generator 20 generates a control pulse, and is constituted by a logic circuit. The control pulse generator 20 creates the write pulse WE based on the input side dot clock ICLK synchronized with the input side horizontal frequency signal IH in the write pulse WE creation unit 21. The control pulse generator 20 uses the output-side dot clock OCLK synchronized with the output-side horizontal reference frequency signal OH_PLL in the read pulse RE creating unit 22.
Based on the read pulse RE,
The output side horizontal frequency signal OH and the output side vertical frequency signal OV are generated by the output side horizontal frequency signal OH and the output side vertical frequency signal OV. The control pulse generator 20 generates the output-side horizontal reference frequency signal OH_PLL by dividing the frequency of the output-side reference clock from the crystal oscillator 34 in the output-side horizontal reference frequency signal OH_PLL generation unit 24. The output horizontal frequency signal OH, output vertical frequency signal OV, and output horizontal reference frequency signal OH_PLL generated by the control pulse generator 20 are forcibly reset by the input vertical frequency signal IV. The creation unit 21 for the write pulse WE, the creation unit 22 for the read pulse RE, the creation unit 23 for the output-side horizontal frequency signal OH and the output-side vertical frequency signal OV, and the creation unit 24 for the output-side horizontal reference frequency signal OH_PLL The function of the pulse generator 20 is represented as a functional block.

【0007】制御パルス発生装置20には、入力側水平
周波数信号IH、入力側垂直周波数信号IV、入力側ド
ットクロックICLK、出力側ドットクロックOCLK
が入力されている。制御パルス発生装置20からは、入
力側水平周波数信号IHに同期した書き込みパルスW
E、出力側水平周波数信号OHに同期した読み出しパル
スRE、出力側水平周波数信号OH、出力側垂直周波数
信号OV、出力側水平基準周波数信号OH_PLLが出
力されている。書き込みパルスWEおよび読み出しパル
スREは、画像処理装置10に入力する。制御パルス発
生装置20は、各パルスを設定するバスPULSE_B
USで制御装置31に接続されている。制御パルス発生
装置20には、水晶発振器34が接続され、出力側基準
クロックを供給している。
The control pulse generator 20 includes an input-side horizontal frequency signal IH, an input-side vertical frequency signal IV, an input-side dot clock ICLK, and an output-side dot clock OCLK.
Is entered. The control pulse generator 20 outputs a write pulse W synchronized with the input-side horizontal frequency signal IH.
E, a read pulse RE synchronized with the output horizontal frequency signal OH, an output horizontal frequency signal OH, an output vertical frequency signal OV, and an output horizontal reference frequency signal OH_PLL are output. The write pulse WE and the read pulse RE are input to the image processing device 10. The control pulse generation device 20 includes a bus PULSE_B for setting each pulse.
It is connected to the control device 31 by US. A crystal oscillator 34 is connected to the control pulse generator 20 and supplies an output-side reference clock.

【0008】制御装置31は、信号処理装置の各部を制
御するものであり、たとえばCPU、ROM、RAM等
を備えてなるマイクロコントローラにより構成される。
The control device 31 controls each part of the signal processing device, and is constituted by, for example, a microcontroller having a CPU, a ROM, a RAM and the like.

【0009】制御装置31には、入力側垂直周波数信号
IVが入力されている。制御装置31は、画像の縦およ
び横方向を設定するバスIIC_BUSで画像処理装置
10に、各パルスを設定するバスPULSE_BUSで
制御パルス発生装置20に、PLLの分周比等を設定す
るバスPLL_BUSで入力側PLL32および出力側
PLL33に、入力信号判別データを送るバスで図示し
ない入力判別装置に接続されている。
The control unit 31 receives an input-side vertical frequency signal IV. The control device 31 uses the bus IIC_BUS to set the vertical and horizontal directions of the image to the image processing device 10, the bus PULSE_BUS to set each pulse, the control pulse generator 20 to the control pulse generator 20, and the bus PLL_BUS to set the frequency division ratio of the PLL. The input PLL 32 and the output PLL 33 are connected to an input discriminating device (not shown) by a bus for transmitting input signal discrimination data.

【0010】また、従来の信号処理装置は、入力側水平
周波数信号IHに同期する入力側PLL32と、出力側
水平基準周波数信号OH_PLLに同期する出力側PL
L33と、出力側基準クロックを発生する水晶発振器3
4とを有している。
The conventional signal processing device comprises an input PLL 32 synchronized with an input horizontal frequency signal IH and an output PLL synchronized with an output horizontal reference frequency signal OH_PLL.
L33 and a crystal oscillator 3 for generating an output-side reference clock
And 4.

【0011】入力側PLL32は、制御装置31と接続
され分周比等を設定するバスPLL_BUSに基づい
て、入力水平周波数信号IHに同期した入力側ドットク
ロックICLKを発生する。入力側ドットクロックIC
LKは、画像処理装置10および制御パルス発生装置2
0に入力する。
The input PLL 32 generates an input dot clock ICLK synchronized with the input horizontal frequency signal IH based on a bus PLL_BUS connected to the control device 31 and setting a frequency division ratio and the like. Input side dot clock IC
LK is an image processing device 10 and a control pulse generator 2
Enter 0.

【0012】出力側PLL33は、制御装置31と接続
され分周比等を設定するバスPLL_BUSに基づい
て、出力側水平基準周波数信号OH_PLLに同期した
出力側ドットクロックOCLKを発生する。出力側ドッ
トクロックOCLKは、画像処理装置10および制御パ
ルス発生装置20に入力する。
The output PLL 33 generates an output dot clock OCLK synchronized with the output horizontal reference frequency signal OH_PLL based on a bus PLL_BUS connected to the control device 31 and setting a frequency division ratio and the like. The output side dot clock OCLK is input to the image processing device 10 and the control pulse generator 20.

【0013】[0013]

【発明が解決しようとする課題】従来、信号処理装置に
おいては、出力側水平基準周波数信号OH_PLLは、
入力の信号判別結果から決まった信号規格値と垂直方向
の変換率から求める。この出力側水平基準信号OH_P
LLは、水晶発振器43からの出力側基準クロックを分
周して作成したものであって、ラインメモリの書き込み
および読み出し位相は、テーブルデータから持ってくる
ための規格外の信号、入力信号の温度特性の変動によっ
ては書き込みタイミングと読み出しタイミングにずれを
生ずるようになり、それが内部のラインメモリ内に収ま
らなくなると変換後の画像が破綻するようになってい
た。
Conventionally, in a signal processing device, an output-side horizontal reference frequency signal OH_PLL is
It is obtained from the signal standard value determined from the input signal determination result and the vertical conversion rate. This output-side horizontal reference signal OH_P
LL is created by dividing the output-side reference clock from the crystal oscillator 43, and the writing and reading phases of the line memory indicate the non-standard signals to be obtained from the table data and the temperature of the input signal. Depending on the variation in characteristics, a shift occurs between the write timing and the read timing. If the shift does not fit in the internal line memory, the converted image is broken.

【0014】このように、従来のラインメモリのみを用
いて走査線変換をおこなう信号処理装置では、いわゆる
VESA規格の信号しか対応できなかった。すなわち、
ラインメモリのみを用いて走査線を変換する信号処理で
いわゆるVESA規格以外の信号に対応する場合には、
1画面分の入力周波数と出力周波数の差に応じて安定的
に走査線変換するために多量のラインメモリが必要とさ
れていた。一方、入力側ドットクロックICLKと出力
側ドットクロックOCLKを垂直(V)周期で同期をか
けることで少ないラインメモリの量で走査線を変換する
システムを構築できるが、垂直周期で同期をかけるため
に動作が不安定であった。
As described above, the conventional signal processing apparatus that performs scanning line conversion using only a line memory can handle only a signal of the so-called VESA standard. That is,
When the signal processing for converting the scanning line using only the line memory corresponds to a signal other than the so-called VESA standard,
A large amount of line memory is required to stably perform scan line conversion according to the difference between the input frequency and the output frequency for one screen. On the other hand, by synchronizing the input side dot clock ICLK and the output side dot clock OCLK in the vertical (V) cycle, a system for converting scanning lines with a small amount of line memory can be constructed. Operation was unstable.

【0015】本発明の上述の実情に鑑みて提案されるも
のであって、多量のラインメモリを必要とせず、安定に
動作するような、複数のラインメモリのみを用いて走査
線変換をおこなう信号処理装置および方法を提供するこ
とを目的とする。
A signal which is proposed in view of the above-mentioned circumstances of the present invention and which performs a scanning line conversion using only a plurality of line memories so as to operate stably without requiring a large amount of line memories. It is an object to provide a processing device and method.

【0016】[0016]

【課題を解決するための手段】上述の課題を解決するた
めに、本発明は、複数のラインメモリを有し、入力され
る画像情報の走査線を変換して出力するものであって、
出力側の基準クロックを発生し、上記基準クロックに基
づいて上記画像情報の入力水平周波数を計測し、上記基
準クロックに基づいて出力水平周波数を発生し、上記複
数のラインメモリに上記画像情報の走査線を順に書き込
み、上記計測工程で計測した上記入力水平周波数と上記
画像情報の垂直方向への拡大率に基づいて上記周波数発
生工程から発生される出力周波数を決定し、上記出力周
波数で上記複数のラインメモリから上記走査線を順に読
み出すように制御するものである。
SUMMARY OF THE INVENTION In order to solve the above-mentioned problems, the present invention has a plurality of line memories and converts and outputs scanning lines of input image information.
A reference clock on the output side is generated, an input horizontal frequency of the image information is measured based on the reference clock, an output horizontal frequency is generated based on the reference clock, and scanning of the image information is performed on the plurality of line memories. Lines are sequentially written, and an output frequency generated from the frequency generation step is determined based on the input horizontal frequency measured in the measurement step and a vertical enlargement ratio of the image information. The scanning lines are controlled so as to be sequentially read from the line memory.

【0017】詳しくは、本発明は、ラインメモリのみを
用いて画像情報の走査線を変換する信号処理をおこなう
ものであって、入力される画像情報の水平周波数のリア
ルタイム測定とヒステリシス処理、出力側で入力水平周
波数の計測と出力水平周波数を発生する。これによっ
て、ラインメモリ内で破綻しないような走査線の書き込
みおよび読み出しのタイミングを生成する周波数を発生
することができる。
More specifically, the present invention performs signal processing for converting a scanning line of image information using only a line memory, real-time measurement of horizontal frequency of input image information, hysteresis processing, and output side. To measure the input horizontal frequency and generate the output horizontal frequency. As a result, it is possible to generate a frequency for generating the timing of writing and reading of the scanning line that does not break down in the line memory.

【0018】また、ラインメモリのメモリフル(一杯)
およびメモリエンプティ(空)の情報に基づいて、書き
込み開始位置および読み出し開始位置を検出すること
で、ラインメモリ内での破綻しないような書き込みおよ
び読み出し位相状態を作り出すことができる。ここで、
メモリフルとは複数のラインメモリのすべてに書き込ま
れた画像情報が未読み出しの状態を、メモリエンプティ
とは複数のラインメモリのすべての画像情報が読み出さ
れて書き込まれていない状態をいう。
Further, the memory of the line memory is full (full).
By detecting the write start position and the read start position based on the information of the memory empty (empty), it is possible to create a write and read phase state that does not break down in the line memory. here,
Memory full refers to a state in which image information written in all of the plurality of line memories has not been read, and memory empty refers to a state in which all image information in the plurality of line memories has been read and not written.

【0019】これら2つの状態を作り出すことによっ
て、いわゆるVESA規格外の画像情報にも破綻しない
ような走査線変換をおこなうことができる。
By creating these two states, it is possible to perform scanning line conversion that does not break down even in image information outside the so-called VESA standard.

【0020】本発明は、入力される画像情報の入力水平
周波数のリアルタイム計測と出力水平周波数の計算と発
生、ラインメモリのフル、エンプティの情報をもとに、
走査線の書き込みおよび読み出しのポイントを検出する
でき、温度特性等による周波数の変動にも対処すること
ができる。
According to the present invention, real-time measurement of input horizontal frequency of input image information, calculation and generation of output horizontal frequency, and full / empty line memory information are performed.
The writing and reading points of the scanning line can be detected, and frequency fluctuations due to temperature characteristics and the like can be dealt with.

【0021】[0021]

【発明の実施の形態】以下、本発明に係る信号処理装置
および方法の実施の形態について、図面を参照して詳細
に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, embodiments of a signal processing apparatus and method according to the present invention will be described in detail with reference to the drawings.

【0022】信号処理装置は、図1に示すように、走査
線変換処理をおこなう画像処理装置10と、制御パルス
を発生する制御パルス発生装置20と、この信号処理装
置の各部を制御する制御装置31とを有している。
As shown in FIG. 1, the signal processing device includes an image processing device 10 for performing a scanning line conversion process, a control pulse generating device 20 for generating a control pulse, and a control device for controlling each part of the signal processing device. 31.

【0023】画像処理装置10は、図2に示すように、
複数のラインメモリ11を備え、入力画像データに走査
線処理を施し、変換後の画像データを出力するものであ
る。画像処理装置10は、制御装置31に接続されたI
IC_BUSにより、画像の縦および横方向の変換率を
設定される。画像処理装置10には、入力側水平周波数
信号IHの周期に応じて順にラインメモリ11に画像が
書き込まれ、出力側水平周波数信号OHの周期に応じて
順にラインメモリ11から画像が読み出される。
As shown in FIG. 2, the image processing apparatus 10
A plurality of line memories 11 are provided to perform scanning line processing on input image data and output converted image data. The image processing apparatus 10 is connected to the I
The conversion ratio in the vertical and horizontal directions of the image is set by IC_BUS. In the image processing apparatus 10, images are sequentially written to the line memory 11 in accordance with the cycle of the input-side horizontal frequency signal IH, and images are sequentially read from the line memory 11 in accordance with the cycle of the output-side horizontal frequency signal OH.

【0024】画像処理装置10には、入力画像データ、
入力水平周波数信号IHに同期した入力側ドットクロッ
クICLK、入力側水平周波数信号IHに同期した書き
込みパルスWE、出力側水平基準周波数信号OH_PL
Lに同期した出力側ドットクロックOCLKが入力され
ている。画像処理装置10からは、変換後の画像デー
タ、内蔵するラインメモリ11が一杯になった場合にハ
イ(H)レベルとなるエラーフラグmem_full、
内蔵するラインメモリ11が空になった場合にハイレベ
ルとなるエラーフラグmem_emptyが出力され
る。エラーフラグmem_fullおよびエラーフラグ
mem_emptyは、制御装置31に出力される。画
像処理装置10は、画像の縦および横方向の変換率を設
定するバスIIC_BUSで制御装置31に接続されて
いる。画像処理装置10において、エラーフラグmem
_fullおよびエラーフラグmem_emptyは、
メモリフル状態およびメモリエンプティ状態を検出する
第1の検出手段とエラーフラグmem_emptyを検
出する第2の検出手段を備える図示しない状態判別装置
により生成される。
The image processing apparatus 10 has input image data,
The input side dot clock ICLK synchronized with the input horizontal frequency signal IH, the write pulse WE synchronized with the input side horizontal frequency signal IH, the output side horizontal reference frequency signal OH_PL
The output side dot clock OCLK synchronized with L is input. The image processing apparatus 10 outputs the converted image data, an error flag mem_full which becomes a high (H) level when the built-in line memory 11 is full,
When the built-in line memory 11 becomes empty, an error flag mem_empty which becomes high level is output. The error flag mem_full and the error flag mem_empty are output to the control device 31. The image processing device 10 is connected to the control device 31 via a bus IIC_BUS that sets a conversion ratio in the vertical and horizontal directions of an image. In the image processing apparatus 10, the error flag mem
_Full and the error flag mem_empty are
It is generated by a state discriminator (not shown) including first detection means for detecting a memory full state and a memory empty state and second detection means for detecting an error flag mem_empty.

【0025】制御パルス発生装置20は、制御パルスを
発生するものであってロジック回路により構成されてい
る。制御パルス発生装置20は、書き込みパルスWEの
作成部21にて入力側水平周波数信号IHに同期した入
力側ドットクロックICLKに基づいて書き込みパルス
WEを作成する。制御パルス発生装置20は、読み出し
パルスREの作成部22にて出力側垂直基準周波数信号
OH_PLLに同期した出力側ドットクロックOCLK
に基づいて、読み出しパルスREを作成するとともに、
出力側水平周波数信号OHおよび出力側垂直周波数信号
OVの作成部23にて出力側水平周波数信号OHおよび
出力側垂直周波数信号OVを発生する。制御パルス発生
装置20は、入力側水平周波数信号IHの計測部25に
て基準クロック発生手段である水晶発振器34からの出
力側基準クロックを分周して入力側水平周波数信号IH
を計測する。制御パルス発生装置20は、出力側水平基
準周波数信号OH_PLLの作成部24にて水晶発振器
34からの出力側基準クロックを分周して出力側水平基
準周波数信号OH_OLLを作成する。制御パルス発生
装置20で作成される出力側水平周波数信号OH、出力
側垂直周波数信号OV、出力側水平基準周波数信号OH
_PLLは、入力側垂直周波数信号IVによって強制的
にリセットされる。なお、書き込みパルスWEの作成部
21、読み出しパルスREの作成部22、出力側水平周
波数信号OHおよび出力側垂直周波数信号OVの作成部
23、出力側水平基準周波数信号OH_PLLの作成部
24および入力側水平周波数信号IHの計測部25は、
制御パルス発生装置20の機能を機能ブロックとして表
したものである。なお、本明細書中においては、入力側
垂直周波数信号IVを入力側垂直(V)パルスと、出力
側垂直周波数信号OVを出力側垂直(V)パルスと称す
ることがある。
The control pulse generator 20 generates a control pulse and is constituted by a logic circuit. The control pulse generator 20 creates the write pulse WE based on the input side dot clock ICLK synchronized with the input side horizontal frequency signal IH in the write pulse WE creation unit 21. The control pulse generator 20 outputs the output-side dot clock OCLK synchronized with the output-side vertical reference frequency signal OH_PLL by the read pulse RE generator 22.
Based on the read pulse RE,
The output side horizontal frequency signal OH and the output side vertical frequency signal OV are generated by the output side horizontal frequency signal OH and the output side vertical frequency signal OV. The control pulse generator 20 divides the frequency of the output-side reference clock from the crystal oscillator 34, which is the reference clock generation means, in the input-side horizontal frequency signal IH measuring unit 25 to divide the input-side horizontal frequency signal IH.
Is measured. In the control pulse generator 20, the output side horizontal reference frequency signal OH_OLL is generated by the output side horizontal reference frequency signal OH_PLL generation unit 24 by dividing the frequency of the output side reference clock from the crystal oscillator. Output-side horizontal frequency signal OH, output-side vertical frequency signal OV, output-side horizontal reference frequency signal OH generated by control pulse generator 20
_PLL is forcibly reset by the input side vertical frequency signal IV. Note that the write pulse WE generating unit 21, the read pulse RE generating unit 22, the output horizontal frequency signal OH and the output vertical frequency signal OV generating unit 23, the output horizontal reference frequency signal OH_PLL generating unit 24, and the input side The measurement unit 25 of the horizontal frequency signal IH
2 shows the functions of the control pulse generator 20 as functional blocks. In this specification, the input-side vertical frequency signal IV may be referred to as an input-side vertical (V) pulse, and the output-side vertical frequency signal OV may be referred to as an output-side vertical (V) pulse.

【0026】制御パルス発生装置20には、入力側水平
周波数信号IH、入力側垂直周波数信号IV、入力側ド
ットクロックICLK、出力側ドットクロックOCLK
が入力されている。制御パルス発生装置20からは、入
力側水平周波数信号IHに同期した書き込みパルスW
E、出力側水平周波数信号OHに同期した読み出しパル
スRE、出力側水平周波数信号OH、出力側垂直周波数
信号OV、出力側水平基準周波数信号OH_PLLが出
力されている。書き込みパルスWEおよび読み出しパル
スREは、画像処理装置10に入力する。制御パルス発
生装置20は、各パルスを設定するバスPULSE_B
USで制御装置31に接続されている。制御パルス発生
装置20には、水晶発振器34が接続され、出力側基準
クロックを供給している。
The control pulse generator 20 includes an input-side horizontal frequency signal IH, an input-side vertical frequency signal IV, an input-side dot clock ICLK, and an output-side dot clock OCLK.
Is entered. The control pulse generator 20 outputs a write pulse W synchronized with the input-side horizontal frequency signal IH.
E, a read pulse RE synchronized with the output horizontal frequency signal OH, an output horizontal frequency signal OH, an output vertical frequency signal OV, and an output horizontal reference frequency signal OH_PLL are output. The write pulse WE and the read pulse RE are input to the image processing device 10. The control pulse generation device 20 includes a bus PULSE_B for setting each pulse.
It is connected to the control device 31 by US. A crystal oscillator 34 is connected to the control pulse generator 20 and supplies an output-side reference clock.

【0027】制御装置31は、信号処理装置の各部を制
御するものであり、たとえばCPU、ROM、RAM等
を備えてなるマイクロコントローラにより構成される。
The control device 31 controls each part of the signal processing device, and is constituted by, for example, a microcontroller including a CPU, a ROM, a RAM and the like.

【0028】制御装置31には、入力側垂直周波数信号
IV、OR回路35からのエラーフラグが入力されてい
る。OR回路35からのエラーフラグは、立ち上がりエ
ッジで割り込みがおこなわれる。制御装置31は、画像
の縦、横方向を設定するバスIIC_BUSで画像処理
装置10に、各パルスを設定するバスPULSE_BU
Sで制御パルス発生装置20に、PLLの分周比等を設
定するバスPLL_BUSで入力側PLL32および出
力側PLL33に、入力信号判別データを送るバスで図
示しない入力判別装置に接続されている。
The controller 31 receives an input-side vertical frequency signal IV and an error flag from the OR circuit 35. The error flag from the OR circuit 35 is interrupted at the rising edge. The control device 31 transmits a pulse PULSE_BU to the image processing device 10 via the bus IIC_BUS for setting the vertical and horizontal directions of the image.
In S, the control pulse generator 20 is connected to an input discriminator (not shown) by a bus for sending input signal discrimination data to the input PLL 32 and output PLL 33 by a bus PLL_BUS for setting the frequency division ratio of the PLL and the like.

【0029】また、信号処理装置は、入力側水平周波数
信号IHに同期する入力側PLL32と、出力側水平基
準周波数信号OH_PLLに同期する出力側PLL33
と、出力側基準クロックを供給する水晶発振器34と、
エラーフラグを発生するOR回路35とを有している。
The signal processing device comprises an input PLL 32 synchronized with the input horizontal frequency signal IH, and an output PLL 33 synchronized with the output horizontal reference frequency signal OH_PLL.
A crystal oscillator 34 that supplies an output-side reference clock;
An OR circuit 35 for generating an error flag.

【0030】入力側PLL32は、制御装置31と接続
され分周比等を設定するバスPLL_BUSに基づい
て、入力水平周波数信号IHに同期した入力側ドットク
ロックICLKを発生する。入力側ドットクロックIC
LKは、画像処理装置10および制御パルス発生装置2
0に入力する。
The input PLL 32 generates an input dot clock ICLK synchronized with the input horizontal frequency signal IH based on a bus PLL_BUS that is connected to the control device 31 and sets a frequency division ratio and the like. Input side dot clock IC
LK is an image processing device 10 and a control pulse generator 2
Enter 0.

【0031】出力側PLL33は、制御装置31と接続
され分周比等を設定するバスPLL_BUSに基づい
て、出力側水平基準周波数信号OH_PLLに同期した
出力側ドットクロックOCLKを発生する。出力側ドッ
トクロックOCLKは、画像処理装置10および制御パ
ルス発生装置20に入力する。
The output-side PLL 33 generates an output-side dot clock OCLK synchronized with the output-side horizontal reference frequency signal OH_PLL based on a bus PLL_BUS that is connected to the control device 31 and sets a frequency division ratio and the like. The output side dot clock OCLK is input to the image processing device 10 and the control pulse generator 20.

【0032】OR回路35は、画像処理装置10から
の、ラインメモリ11が一杯になった場合にハイレベル
となるエラーフラグmem_fullと、ラインメモリ
11が空になった場合にハイレベルとなるエラーフラグ
mem_emptyのOR演算を実行する。これらの演
算結果をエラーフラグとして制御装置31に入力する。
The OR circuit 35 outputs an error flag mem_full from the image processing apparatus 10 that goes high when the line memory 11 is full, and an error flag that goes high when the line memory 11 becomes empty. Perform an OR operation on mem_empty. The results of these calculations are input to the control device 31 as error flags.

【0033】信号処理装置は、画像処理装置10の備え
るラインメモリ11のみを用いて走査線を変換すること
により、いわゆるVESA規格以外の信号にも対応する
ものである。本実施の形態の信号処理装置は、図16に
示した従来の信号処理装置と比較すると、入力側水平周
波数信号IHを水晶発振器34からの出力側基準クロッ
クに基づいて計測する入力側水平周波数信号IHの計測
部25と、ラインメモリ11が一杯になったことを示す
エラーフラグmem_fullと、ラインメモリ11が
空になったことを示すエラーフラグmem_empty
とを有することが相違している。なお、エラーフラグm
em_fullおよびエラーフラグmem_empty
のOR演算をおこなうOR回路35も備えられた。な
お、上述の図16との比較を容易にするために、図1お
よび図2においては、図1に現れた部分に対応する部分
については同一の符号を附した。
The signal processing device converts signals by using only the line memory 11 provided in the image processing device 10 to cope with signals other than the so-called VESA standard. The signal processing apparatus of the present embodiment is different from the conventional signal processing apparatus shown in FIG. 16 in that an input horizontal frequency signal IH that measures an input horizontal frequency signal IH based on an output reference clock from a crystal oscillator 34 is output. The IH measuring unit 25, an error flag mem_full indicating that the line memory 11 is full, and an error flag mem_empty indicating that the line memory 11 is empty.
Is different. Note that the error flag m
em_full and error flag mem_empty
An OR circuit 35 for performing an OR operation is also provided. In FIGS. 1 and 2, parts corresponding to those shown in FIG. 1 are denoted by the same reference numerals in order to facilitate comparison with FIG.

【0034】信号処理装置においては、制御パルス発生
装置20の入力側水平周波数信号IHの計測部20で入
力側水平周波数信号IHを水晶発振器34からの出力側
基準クロックに基づいてリアルタイムに計測する。この
入力側水平周波数信号IHの計測部20の信号判別結果
から求められる垂直方向の変換率との計算によって、出
力側水平基準周波数信号OH_PLLが決定される。出
力側水平基準周波数信号OH_PLLは、水晶発振器3
4からの出力側基準クロックを分周することによって発
生させる。出力側PLL33にて出力側水平周波数信号
OHに出力側水平基準周波数信号OH_PLLにてPL
Lをかけることによって、出力側ドットクロックOCL
Kが変化し画像処理装置10において画像の縦方向の拡
大および縮小処理をおこなうことができる。この入出力
関係は、画像処理装置10に内蔵されるラインメモリ1
1内で破綻せずに走査線変換をすることができる周波数
比である。また、ラインメモリ11の一杯(full)およ
び空(empty)情報から書き込み開始位置および読み出
し開始位置の検出をする。これらの入出力関係は、ライ
ンメモリ11で破綻せずに走査線変換をすることができ
る位相関係である。これらの情報からいわゆるVESA
規格以外の映像信号を入力しても対応できる数少ないラ
インメモリのみを用いて走査線を変換する画像処理を実
現する。
In the signal processing device, the input side horizontal frequency signal IH is measured in real time by the input side horizontal frequency signal IH measuring section 20 of the control pulse generator 20 based on the output side reference clock from the crystal oscillator 34. The output-side horizontal reference frequency signal OH_PLL is determined by calculation of the input-side horizontal frequency signal IH and the vertical conversion rate obtained from the signal determination result of the measurement unit 20. The output side horizontal reference frequency signal OH_PLL is
4 is generated by dividing the output-side reference clock. Output side horizontal frequency signal OH at output side PLL 33 and PL at output side horizontal reference frequency signal OH_PLL
L, the output side dot clock OCL
K changes and the image processing apparatus 10 can perform vertical enlargement and reduction processing of the image. This input / output relationship is based on the line memory 1 built in the image processing apparatus 10.
This is a frequency ratio within which scanning line conversion can be performed without failure within 1. In addition, a write start position and a read start position are detected from the full and empty information of the line memory 11. These input / output relationships are phase relationships in which scanning line conversion can be performed without failure in the line memory 11. From these information, the so-called VESA
Image processing for converting a scanning line is realized using only a few line memories that can respond to input of a video signal other than the standard.

【0035】次に、画像処理装置10における走査線変
換の処理について説明する。画像処理装置10は、垂直
方向の変換率または拡大率に応じて、入力側水平周波数
信号IHから出力側水平周波数信号OHを計算する。画
像処理装置10は、内蔵するラインメモリ11に入力側
水平周波数信号IHに応じて書き込み、ラインメモリ1
1から出力側水平周波数信号OHに応じて画像データを
読み出することにより走査線変換をおこなう。出力側垂
直周波数信号OVは入力側垂直周波数信号IVと同一で
あるが、出力側水平周波数信号OHは入力側水平周波数
信号IHに対して画像の垂直方向の変換率または拡大率
によって変化する。
Next, the scanning line conversion processing in the image processing apparatus 10 will be described. The image processing apparatus 10 calculates an output-side horizontal frequency signal OH from the input-side horizontal frequency signal IH according to the vertical conversion rate or the enlargement rate. The image processing apparatus 10 writes the data into the built-in line memory 11 according to the input-side horizontal frequency signal IH,
Scan line conversion is performed by reading image data from 1 in accordance with the output side horizontal frequency signal OH. The output-side vertical frequency signal OV is the same as the input-side vertical frequency signal IV, but the output-side horizontal frequency signal OH changes with respect to the input-side horizontal frequency signal IH according to the vertical conversion rate or magnification of the image.

【0036】画像データを垂直方向に1.25倍に拡大
する場合は、垂直周期については、画像処理装置10に
は、図3中のAに示す入力側垂直周波数信号IVがハイ
レベルの期間内に、図3中のBに示すように入力画像デ
ータとして1周期に480ライン(line)を有する入力
映像信号が入力される。この入力映像信号は、画像処理
装置10で垂直方向に1.25倍に拡大される。垂直方
向に拡大された映像信号は、図3中のCに示す出力側が
ハイレベルの期間内に、図3中のDに示すように変換後
の画像データとして1周期に600ラインを有する出力
映像信号として出力される。
In the case where the image data is enlarged 1.25 times in the vertical direction, the image processing apparatus 10 supplies the vertical period within the period in which the input-side vertical frequency signal IV indicated by A in FIG. As shown in FIG. 3B, an input video signal having 480 lines in one cycle is input as input image data. This input video signal is enlarged 1.25 times in the vertical direction by the image processing device 10. The video signal enlarged in the vertical direction is an output video having 600 lines in one cycle as converted image data as shown in D in FIG. 3 within a period in which the output side shown in C in FIG. 3 is at a high level. Output as a signal.

【0037】水平周期については、画像処理装置10に
は、図4中のAに示すように入力側水平周波数信号IH
が入力される。場増処理装置10における走査線処理の
結果、図4中のBに示すように、垂直方向への1.25
倍の拡大に応じて、入力側周波数信号IHの4水平周期
の期間が5水平周期に対応する出力水平周波数信号OH
が出力される。
As for the horizontal period, the image processing apparatus 10 supplies the input-side horizontal frequency signal IH as shown at A in FIG.
Is entered. As a result of the scanning line processing in the field increase processing apparatus 10, as shown in FIG.
The output horizontal frequency signal OH in which the period of the four horizontal cycles of the input-side frequency signal IH corresponds to the five horizontal cycles,
Is output.

【0038】画像データを垂直方向に1.5倍に拡大す
る場合は、画像処理装置10には、図5中のAに示す入
力側垂直周波数信号IVがハイレベルの期間内に、図5
中のBに示すように入力画像データとして1周期に48
0ラインを有する入力映像信号が入力される。この入力
映像信号は、画像処理装置10で垂直方向に1.5倍に
拡大される。垂直方向に拡大された映像信号は、図5中
のCに示す出力側がハイレベルの期間内に、図5中のD
に示すように変換後の画像データとして1周期に720
ラインを有する出力映像信号として出力される。
When the image data is to be enlarged 1.5 times in the vertical direction, the image processing apparatus 10 requires the input side vertical frequency signal IV indicated by A in FIG.
As shown in B in FIG.
An input video signal having 0 lines is input. This input video signal is enlarged 1.5 times in the vertical direction by the image processing device 10. The video signal enlarged in the vertical direction is supplied to the D signal in FIG. 5 during the period when the output side indicated by C in FIG.
As shown in FIG.
It is output as an output video signal having a line.

【0039】水平周期については、画像処理装置10に
は、図6中のAに示すように入力側水平周波数信号IH
が入力される。画像処理装置10における走査線処理の
結果、図6中のBに示すように、垂直方向への1.5倍
の拡大に応じて、入力側周波数信号IHの4水平周期の
期間が6水平周期に対応する出力側水平周波数信号OH
が出力される。
As for the horizontal period, the image processing apparatus 10 supplies the input-side horizontal frequency signal IH as shown at A in FIG.
Is entered. As a result of the scanning line processing in the image processing apparatus 10, as shown by B in FIG. 6, the four horizontal periods of the input-side frequency signal IH are changed to six horizontal periods in accordance with the 1.5-fold enlargement in the vertical direction. Output horizontal frequency signal OH corresponding to
Is output.

【0040】上述した図3および図5は、垂直周期で見
た場合のタイミング図である。垂直方向の変換率を変え
ることによって、出力側水平基準周波数信号OH_PL
Lを変化させる。入出力の信号有効期間は同じになる
が、そこに含まれる出力側のライン数は変化することに
なる。このようにすることで画像の垂直方向の拡大およ
び縮小を実現する。
FIGS. 3 and 5 described above are timing charts when viewed in a vertical cycle. By changing the conversion rate in the vertical direction, the output-side horizontal reference frequency signal OH_PL
L is changed. Although the input and output signal valid periods are the same, the number of output lines included therein changes. In this way, vertical enlargement and reduction of the image are realized.

【0041】上述した図4および図6は、図3および図
5を水平周期で見た場合のタイミング図である。同じ時
間内に含まれるライン数が垂直方向に変換率によって変
化することを示している。
FIGS. 4 and 6 are timing charts when FIGS. 3 and 5 are viewed in a horizontal cycle. This shows that the number of lines included in the same time changes in the vertical direction depending on the conversion rate.

【0042】次に、入力側PLL32および出力側PL
L33の構成について、図7を参照して説明する。
Next, the input side PLL 32 and the output side PL
The configuration of L33 will be described with reference to FIG.

【0043】入力側PLL32は、入力側水平周波数信
号IHと分周された周波数の位相を比較して入力側ドッ
トクロックICLKを出力する位相比較器41と、位相
比較器41から出力された信号を1/Nに分周して位相
比較器41に与える分周器42とから構成される。入力
側PLL32には入力側水平周波数信号IHが入力さ
れ、入力側ドットクロックICLKが出力されている。
The input-side PLL 32 compares the phase of the input-side horizontal frequency signal IH with the divided frequency and outputs an input-side dot clock ICLK. The input-side PLL 32 converts the signal output from the phase comparator 41 into a signal. And a frequency divider 42 which divides the frequency by 1 / N and supplies it to the phase comparator 41. The input-side PLL 32 receives the input-side horizontal frequency signal IH and outputs the input-side dot clock ICLK.

【0044】出力側PLL33は、出力側水平基準周波
数信号OH_PLLと分周された周波数の位相を比較し
て出力側ドットクロックOCLKを出力する位相比較器
43と、位相比較器43から出力された信号を1/Lに
分周して位相比較器43に与える分周器44とから構成
される。出力側PLL33には、分周器45から出力側
水平基準周波数信号OH_PLLが、ロジック部からリ
セット制御信号であるPLL_RESETとイネーブル
(enable)制御信号であるPHASE_ENが入力さ
れ、出力側ドットクロックOCLKが出力されている。
The output-side PLL 33 compares the output-side horizontal reference frequency signal OH_PLL with the frequency-divided phase and outputs the output-side dot clock OCLK, and the signal output from the phase comparator 43. Is divided into 1 / L and given to the phase comparator 43. The output side PLL 33 receives the output side horizontal reference frequency signal OH_PLL from the frequency divider 45, the PLL_RESET which is a reset control signal and the PHASE_EN which is an enable control signal from the logic unit, and outputs the output side dot clock OCLK. Have been.

【0045】分周器45は、水晶発振器34からの出力
側基準クロックに基づいて、入力側水平周波数信号IH
に応じて入力の水平周波数と垂直方向の変換率または拡
大率から計算した制御信号と、ロジック部46からのリ
セット制御信号の制御の下に、出力側基準クロックを1
/Mに分周して出力側水平基準周波数信号OH_PLL
として出力する。分周器45は、たとえば制御パルス発
生装置20の機能ブロックである出力側水平基準周波数
信号OH_PLLの作成部24に相当している。
The frequency divider 45 generates an input-side horizontal frequency signal IH based on the output-side reference clock from the crystal oscillator 34.
Under the control of the control signal calculated from the input horizontal frequency and the vertical conversion rate or enlargement rate according to the above and the reset control signal from the logic unit 46, the output-side reference clock is set to 1
/ M and output-side horizontal reference frequency signal OH_PLL
Output as The frequency divider 45 corresponds to the output side horizontal reference frequency signal OH_PLL creating unit 24, which is a functional block of the control pulse generator 20, for example.

【0046】ロジック部46は、入力側垂直周波数信号
IVに応じて、出力側PLL33に内部分周器を強制的
にリセットするリセット制御信号PLL_RESETと
位相比較器をイネーブル状態とするイネーブル制御信号
PHASE_ENを与え、分周器45にリセット制御信
号を与える。ロジック部46は、たとえば制御パルス発
生装置20に備えられる。
The logic unit 46 outputs a reset control signal PLL_RESET for forcibly resetting the internal divider to the output PLL 33 and an enable control signal PHASE_EN for enabling the phase comparator in accordance with the input-side vertical frequency signal IV. And a reset control signal to the frequency divider 45. The logic unit 46 is provided, for example, in the control pulse generator 20.

【0047】信号処理装置においては、ハードウェアの
ビット精度、計算精度による入出力関係に誤差が生じ
る。その誤差を吸収するために入力側垂直周波数信号I
Vで強制リセットをかける。入力側垂直周波数信号IV
によって、出力側PLL33の位相比較器43がディセ
ーブルされ、同時に出力側PLL33の分周器44がリ
セットされる。これによって、出力側水平基準周波数信
号OH_PLLが不連続になっても出力側PLL33で
発生させているデータ読み出しクロックである出力側ド
ットクロックOCLKが乱れる現象を防いでいる。
In the signal processing device, an error occurs in the input / output relationship due to the bit precision and calculation precision of hardware. In order to absorb the error, the input-side vertical frequency signal I
Force reset with V. Input side vertical frequency signal IV
As a result, the phase comparator 43 of the output PLL 33 is disabled, and at the same time, the frequency divider 44 of the output PLL 33 is reset. As a result, even when the output-side horizontal reference frequency signal OH_PLL becomes discontinuous, the phenomenon that the output-side dot clock OCLK, which is the data read clock generated by the output-side PLL 33, is disturbed is prevented.

【0048】図7に示した回路の各部の波形は、図8に
示すようになる。この波形は、位相比較器43にイネー
ブルをかけるタイミングと出力側PLL33の分周器4
4にリセットをかけるタイミングを示すものである。
The waveform of each part of the circuit shown in FIG. 7 is as shown in FIG. This waveform corresponds to the timing of enabling the phase comparator 43 and the frequency divider 4 of the output PLL 33.
4 shows the timing of resetting.

【0049】すなわち、図中のAに示すように、入力側
VパルスIVにより図中のBに示す出力側水平基準周波
数信号OH_PLLが乱れて周期性が崩されている。図
中のCに示す位相比較器に対するイネーブル制御信号P
HASE_ENがハイレベルの期間に、図中のDに示す
内部分周器を強制的にリセットするリセット制御信号P
LL_RESETのパルスのエッジt1のタイミングに
より出力側PLL33の分周器44に強制リセットされ
る。出力側PLL33の分周器44の強制リセットによ
り、図中のEに示すように出力側ドットクロックOCL
Kを1/Lに分周した内部分周器出力信号OCLK/L
が得られる。
That is, as shown at A in the figure, the output-side horizontal reference frequency signal OH_PLL shown at B in the figure is disturbed by the input-side V pulse IV, and the periodicity is broken. An enable control signal P for the phase comparator indicated by C in FIG.
During a period when HASE_EN is at a high level, a reset control signal P for forcibly resetting the internal divider shown by D in FIG.
At the timing of the edge t 1 of the pulse of LL_RESET, the frequency divider 44 of the output PLL 33 is forcibly reset. Due to the forced reset of the frequency divider 44 of the output-side PLL 33, the output-side dot clock OCL
Internal divider output signal OCLK / L obtained by dividing K by 1 / L
Is obtained.

【0050】次に、入力側水平周波数信号IHのパルス
を処理して水晶発振器34による出力側基準クロックに
基づいたカウンターで計測するときの入力波形を、図9
を参照して説明する。入力側水平周波数信号IHの波形
の立ち上がりで内部カウンターで出力値をラッチして制
御装置31に読み出し、入力側水平周波数信号IHの水
平周期を計測する。制御装置31へレジスタ値を読み出
す時点t2のタイミングは、入力側水平周波数信号IH
の計測するライン以外をマスクした信号IHDのパルス
の垂直(V)周期におけるパルスの立ち上がりの間の区
間Taの範囲以外でおこなう。この計測結果と信号判別
結果から決まる垂直方向の変換率から出力側水平周波数
信号OHを計算し発生される。この入出力結果は、画像
処理装置11が内蔵するラインメモリ11で破綻せずに
走査線変換をすることができる周波数関係である。
Next, the input waveform when the pulse of the input horizontal frequency signal IH is processed and measured by a counter based on the output reference clock by the crystal oscillator 34 is shown in FIG.
This will be described with reference to FIG. At the rising edge of the waveform of the input side horizontal frequency signal IH, the output value is latched by an internal counter, read out to the control device 31, and the horizontal cycle of the input side horizontal frequency signal IH is measured. The timing of the time point t 2 at which the register value is read out to the control device 31 is based on the input-side horizontal frequency signal IH.
Is performed outside the range of the section Ta between the rising edges of the pulse in the vertical (V) cycle of the pulse of the signal IHD in which the line other than the line to be measured is masked. The output-side horizontal frequency signal OH is calculated and generated from the vertical conversion rate determined from the measurement result and the signal determination result. This input / output result is a frequency relationship that allows the line memory 11 incorporated in the image processing device 11 to perform scanning line conversion without failure.

【0051】このような入力側水平周波数信号IHの水
平周期のパルスの計測は、図10に示す計測ブロック5
0にておこなわれる。計測ブロック50は、水晶発振器
34からの出力側基準クロックを分周する第1の分周器
26および第2の分周器27と、第1の分周器26で分
周された周波数をラッチするラッチ器28と、ラッチ器
28からの信号と第2の分周器27からの周波数を比較
する比較器29と、信号を遅延させる遅延器30とから
構成される。
The measurement of the pulse of the horizontal cycle of the input-side horizontal frequency signal IH is performed by the measurement block 5 shown in FIG.
Performed at 0. The measurement block 50 latches the first frequency divider 26 and the second frequency divider 27 for dividing the output-side reference clock from the crystal oscillator 34, and the frequency divided by the first frequency divider 26. And a comparator 29 for comparing a signal from the latch unit 28 with a frequency from the second frequency divider 27, and a delay unit 30 for delaying the signal.

【0052】第1の分周器26は、水晶発振器34から
出力側基準クロックを入力され、ラッチ器28に分周し
た信号を出力し、遅延器30からのパルスの立ち上がり
でリセットされる。第2の分周器27は、水晶発振器3
4から出力側基準クロックを入力され、比較器29に分
周した信号を出力し、入力側垂直周波数信号IVまたは
比較器29からの出力側水平基準周波数信号OH_PL
Lの立ち上がりでリセットされる。ラッチ器28は、第
1の分周器26から分周された信号が入力され、入力側
水平周波数信号IHの計測するライン以外をマスクした
信号IHDの立ち上がりでラッチし、ラッチデータを読
み出し出力側水平基準周波数信号OH_PLL分周比を
設定する制御信号を制御装置31に出力する。比較器2
9は、第2の分周器27から分周された信号が、ラッチ
器28からラッチされた信号が入力され、出力側水平基
準周波数信号OH_PLLを分周器27に与えるととも
に外部に出力する。
The first frequency divider 26 receives the output-side reference clock from the crystal oscillator 34, outputs the frequency-divided signal to the latch 28, and is reset at the rising edge of the pulse from the delay 30. The second frequency divider 27 includes the crystal oscillator 3
4 outputs an output-side reference clock, outputs a frequency-divided signal to the comparator 29, and outputs the input-side vertical frequency signal IV or the output-side horizontal reference frequency signal OH_PL from the comparator 29.
Reset at the rise of L. The latch 28 receives the frequency-divided signal from the first frequency divider 26, latches it at the rising edge of a signal IHD that masks a line other than the line measured by the input horizontal frequency signal IH, reads out the latch data, and outputs the latched data. A control signal for setting the horizontal reference frequency signal OH_PLL frequency division ratio is output to the control device 31. Comparator 2
In 9, a signal that is frequency-divided from the second frequency divider 27 and a signal that is latched from the latch 28 are input, and the output-side horizontal reference frequency signal OH_PLL is supplied to the frequency divider 27 and output to the outside.

【0053】計測ブロック50では、入力側水平周波数
信号IHの計測するライン以外をマスクした信号IHD
の立ち上がりでカウンターの値をラッチし、その1クロ
ック後に計測カウンターをリセットする。なお、計測ブ
ロック50は、制御パルス発生装置20の機能ブロック
である入力側水平周波数信号IHの発生部25および出
力側水平基準周波数信号OH_PLLの計測部24に相
当している。
In the measurement block 50, a signal IHD obtained by masking a line other than the line on which the input-side horizontal frequency signal IH is measured.
The value of the counter is latched at the rising edge of the counter, and the measurement counter is reset one clock after that. The measurement block 50 corresponds to the input side horizontal frequency signal IH generation section 25 and the output side horizontal reference frequency signal OH_PLL measurement section 24, which are functional blocks of the control pulse generation device 20.

【0054】次に、制御装置31が計測ブロック50か
ら結果を読み出し、ヒステリシス処理をおこなって出力
側基準クロックの分周比を計算する処理手順を図11を
参照して説明する。
Next, a processing procedure in which the control device 31 reads the result from the measurement block 50, performs a hysteresis process, and calculates the division ratio of the output-side reference clock will be described with reference to FIG.

【0055】制御装置31は、ステップS11では割り
込みルーチンを禁止し、ステップS12では初期化処理
をおこない、ステップS13ではステップS11で禁止
した割り込みルーチンを許可する。
The controller 31 inhibits the interrupt routine in step S11, performs initialization processing in step S12, and permits the interrupt routine inhibited in step S11 in step S13.

【0056】制御装置31は、ステップS14では垂直
(V)パルスの状態を示すVパルスフラグをセットし、
ステップS15でカウンターレジスタ値を読み出す。な
お、Vパルスフラグは、後述する割り込み処理によりク
リアされる。
In step S14, the control device 31 sets a V pulse flag indicating the state of the vertical (V) pulse,
At step S15, the counter register value is read. The V pulse flag is cleared by an interrupt process described later.

【0057】制御装置31は、ステップS16でカウン
ターレジスタ値が1フレーム前のカウンター値と同じか
否かによって処理を分岐させる。ステップS15で読み
出したカウンターレジスタ値と1フレーム前のカウンタ
ー値の誤差が±3以内なら同じと判断して“YES”と
してステップS17に進み、そうでないときには“N
O”としてステップS19に進む。
In step S16, the control device 31 branches the process depending on whether or not the counter register value is the same as the counter value one frame before. If the error between the counter register value read in step S15 and the counter value one frame before is within ± 3, it is determined that they are the same, and the process proceeds to step S17 as “YES”.
O ”and the process proceeds to step S19.

【0058】制御装置31は、ステップS17でカウン
ターレジスタ値が2フレーム前のカウンター値と同じか
否かによって処理を分岐させる。ステップS15で読み
出したカウンターレジスタ値と2フレーム前のカウンタ
ー値の誤差が±3以内なら同じと判断して“YES”と
してステップS18に進み、そうでないときには“N
O”としてステップS19に進む。
The control device 31 branches the processing in step S17 depending on whether or not the counter register value is the same as the counter value two frames before. If the error between the counter register value read in step S15 and the counter value two frames before is within ± 3, it is determined that they are the same, and the process proceeds to step S18 as "YES".
O ”and the process proceeds to step S19.

【0059】制御装置31は、ステップS18において
ステップS15で読み出したカウンターレジスタ値を現
フレームのカウンター値に代入する。ステップS16、
ステップS17およびステップS18は、ステップS1
5で読み出したカウンターレジスタ値を1フレーム前お
よび2フレーム前のカウンター値と比較することによ
り、2回一致および誤差範囲処理によりヒステリシス処
理をおこなっている。
In step S18, the control device 31 substitutes the counter register value read in step S15 for the counter value of the current frame. Step S16,
Step S17 and step S18 are performed in step S1.
By comparing the counter register value read out in step 5 with the counter values of one frame before and two frames before, the hysteresis processing is performed by the twice matching and error range processing.

【0060】制御装置31は、ステップS19で1フレ
ーム前および2フレーム前のカウンター値を更新し、ス
テップS20で出力側水平基準周波数信号OH_PLL
の分周比を計算し、ステップS21で出力側水平基準周
波数OH_PLLを制御パルス発生装置20に設定す
る。テップS20での分周比は、 出力分周比=現フレームカウンター値×縦変換率 のように計算することにより求められる。
The control device 31 updates the counter values of one frame before and two frames before in step S19, and outputs the horizontal reference frequency signal OH_PLL on the output side in step S20.
Is calculated, and the output-side horizontal reference frequency OH_PLL is set in the control pulse generator 20 in step S21. The frequency division ratio at step S20 is obtained by calculating as follows: output frequency division ratio = current frame counter value × vertical conversion ratio.

【0061】制御装置31は、ステップS22でVパル
スフラグがセットされているか否かによって処理を分岐
させる。すなわち、Vパルスフラグがリセットされてい
るときには“NO”としてステップS15に戻り、そう
でないときには“YES”としてこのステップS22に
戻る。Vパルスフラグは、次に述べる割り込み処理によ
ってクリアされる。
The control device 31 branches the processing depending on whether or not the V pulse flag is set in step S22. That is, if the V pulse flag has been reset, “NO” is returned to step S15, and if not, “YES” is returned to step S22. The V pulse flag is cleared by the interrupt processing described below.

【0062】Vパルスフラグの割り込みは、図12に示
すが、入力側垂直周波数信号IVのパルスのエッジで割
り込む。ステップS31でVパルスフラグをクリアす
る。そして割り込みルーチンを終了する。
As shown in FIG. 12, the interruption of the V pulse flag is interrupted by the edge of the pulse of the input-side vertical frequency signal IV. In step S31, the V pulse flag is cleared. Then, the interrupt routine ends.

【0063】次に、信号処理装置における走査線変換処
理について、図13を参照して説明する。この走査線変
換処理は、いわゆるVGA(video graphics array)信
号をいわゆるSVGA(super video graphics array)
信号に変換するものである。
Next, the scanning line conversion processing in the signal processing device will be described with reference to FIG. This scanning line conversion process converts a so-called VGA (video graphics array) signal into a so-called SVGA (super video graphics array).
This is converted into a signal.

【0064】図中のAに示す入力側垂直周波数信号IV
がローレベルからハイレベルに立ち上がってから所定期
間経過した書き込み開始位置tWから、図中のBに示す
1周期に240ラインを有する入力映像信号が画像処理
装置10のラインメモリ11に書き込まれる。入力映像
信号の240ラインは、VGAの480ラインの半分で
ある。
The input-side vertical frequency signal IV indicated by A in FIG.
An input video signal having 240 lines in one cycle indicated by B in the figure is written to the line memory 11 of the image processing device 10 from a write start position t W after a predetermined period has elapsed since the signal has risen from a low level to a high level. 240 lines of the input video signal are half of 480 lines of the VGA.

【0065】このように画像処理装置10のラインメモ
リ11に書き込んだ映像信号の画像データの読み出しに
ついて、次に読み出し開始位置tRにより3つの場合を
例示する。
As to reading of the image data of the video signal written in the line memory 11 of the image processing apparatus 10, three cases will be exemplified below based on the reading start position t R.

【0066】第1の読み出し開始位置tR1は、図中のC
に示す出力側垂直周波数信号OVがローレベルからハイ
レベルに立ち上がるエッジである。図中のDに示す出力
映像信号は、図中のBに示した入力映像信号を垂直方向
に1.25倍に拡大したものであり、1周期に300ラ
インを有している。出力映像信号の300ラインは、S
VGAの600ラインの半分である。第1の読み出し開
始位置tR1は書き込み開始位置tWより時間的に前にき
たので、図中のFに示すように、ラインメモリ11が空
になった場合にハイレベルとなるエラーフラグmem_
emptyがハイレベルとなる区間がある。ラインメモ
リ11が一杯になった場合にハイレベルとなるエラーフ
ラグmem_fullは、図中のEに示すように、ロー
レベルである。このように、第1の読み出し開始位置t
R1が書き込み開始位置tWより時間的に前に位置するの
で、ラインメモリ11が空になり走査線変換処理が破綻
する期間があり、この期間にはエラーフラグmem_e
mptyがハイレベルとなる。
The first reading start position t R1 is indicated by C in FIG.
Is an edge at which the output side vertical frequency signal OV rises from a low level to a high level. The output video signal indicated by D in the figure is obtained by magnifying the input video signal indicated by B in the figure by 1.25 times in the vertical direction, and has 300 lines in one cycle. 300 lines of the output video signal
It is half of VGA 600 lines. Since the first read start position t R1 is temporally before the write start position t W, the error flag mem_ which becomes a high level when the line memory 11 becomes empty as shown by F in the figure.
There is a section where empty is at a high level. The error flag mem_full, which goes high when the line memory 11 is full, is low, as indicated by E in the figure. Thus, the first read start position t
Since R1 is positioned before the writing start position t W in time, there is a period during which the line memory 11 becomes empty and the scanning line conversion process fails. During this period, the error flag mem_e is set.
mpty goes high.

【0067】第2の読み出し開始位置tR2は、図中のD
の出力側垂直周波数信号OVに示す書き込み開始位置t
Wより所定期間遅れた位置にある。図中のHに示す出力
映像信号は、図中のBに示した入力映像信号を垂直方向
に1.25倍に拡大したものであり、1周期に300ラ
インを有している。第2の読み出し開始位置tR2は書き
込み開始位置tWより所定期間遅れた位置にあり、図中
のIに示すエラーフラグmem_fullも図中のJに
示すエラーフラグmem_emptyもともにローレベ
ルである。このように、第1の読み出し開始位置tR1
ら読み出し位置tRを次第に時間的に後ろに移動させる
と、エラーフラグmem_fullおよびエラーフラグ
mem_emptyのいずれのエラーフラグもたたない
第2の読み出し位置tR2が存在する。この第2の読み出
し位置tR2は、映像信号の処理を画像処理装置10の内
部に備えるラインメモリ11のみで処理できる位置であ
る。すなわち、ラインメモリが一杯にも空にもなること
がなく内部のラインメモリ11のみで走査線変換の画像
処理をおこなうことができる第2の読み出し開始位置t
R2が存在する。
The second reading start position t R2 corresponds to D in FIG.
Write start position t indicated by the output side vertical frequency signal OV
It is at a position delayed by a predetermined period from W. The output video signal shown by H in the figure is obtained by magnifying the input video signal shown by B in the figure by 1.25 times in the vertical direction, and has 300 lines in one cycle. The second read start position t R2 is at a position delayed by a predetermined period from the write start position t W , and both the error flag mem_full shown by I in the figure and the error flag mem_empty shown by J in the figure are at the low level. As described above, when the read position t R is gradually moved backward from the first read start position t R1, the second read position t which does not have any of the error flags mem_full and mem_empty. R2 exists. The second reading position t R2 is a position where the processing of the video signal can be processed only by the line memory 11 provided inside the image processing apparatus 10. That is, the second read start position t at which the image processing for scanning line conversion can be performed only by the internal line memory 11 without the line memory becoming full or empty
R2 exists.

【0068】第3の読み出し開始位置tR3は、図中のK
の出力側垂直周波数信号OVに示すように、図中のGの
出力側垂直周波数信号OVに示した第2の読み出し開始
位置tR2よりさらに所定期間だけ遅れた位置にある。図
中のLに示す出力映像信号は、図中のBに示した入力映
像信号を垂直方向に1.25倍に拡大したものであり、
1周期に300ラインを有している。第3の読み出し開
始位置tR3は第2の読み出し開始位置tR2より所定期間
遅れた位置にあるので、ラインメモリ11が一杯にな
り、走査線変換処理が破綻する期間があり、この期間に
はエラーフラグmem_fullがハイレベルとなる。
エラーフラグmem_emptyは、図中のNに示すよ
うに、ローレベルである。このように、第3の読み出し
開始位置tR3が書き込み開始位置tWより時間的に前に
位置するので、ラインメモリ11が一杯になる期間があ
り、この期間にはエラーフラグmem_fullがハイ
レベルとなる。
The third reading start position t R3 is equal to K in FIG.
As shown by the output-side vertical frequency signal OV, the second read start position t R2 indicated by the G-side output vertical frequency signal OV in FIG. The output video signal shown by L in the figure is obtained by magnifying the input video signal shown by B in the figure by 1.25 times in the vertical direction.
One cycle has 300 lines. Since the third read start position t R3 is at a position delayed by a predetermined period from the second read start position t R2 , the line memory 11 becomes full, and there is a period during which the scanning line conversion process breaks down. The error flag mem_full becomes high level.
The error flag mem_empty is at a low level as indicated by N in the figure. As described above, since the third read start position t R3 is located before the write start position t W in time, there is a period in which the line memory 11 is full. In this period, the error flag mem_full is set to the high level. Become.

【0069】上述の第2の読み出し開始位置tR2のよう
にラインメモリを破綻さない走査線変換の処理手順につ
いて、図14を参照して説明する。この処理手順は、入
力側垂直周波数信号IVが変化した際に画像処理装置1
0の信号判別装置からエラーフラグmem_fullお
よびエラーフラグmem_emptyの判別結果をもら
い、書き込み開始位置tWおよび読み出し開始位置tR
入出力関係をサーチするものである。この入出力関係
は、画像処理装置10が備えるラインメモリ11で破綻
せずに走査線変換をすることができる位相関係である。
Referring to FIG. 14, a description will be given of a processing procedure of scanning line conversion that does not break down the line memory as in the above-described second reading start position t R2 . This processing procedure is performed when the input-side vertical frequency signal IV changes.
The determination result of the error flag mem_full and the error flag mem_empty is received from the signal determination device of 0, and the input / output relationship of the write start position t W and the read start position t R is searched. This input / output relationship is a phase relationship in which the line memory 11 included in the image processing apparatus 10 can perform scan line conversion without failure.

【0070】制御装置31は、ステップS41では割り
込みルーチンを禁止し、ステップS42では初期化処理
をおこない、ステップS43では割り込みルーチンを許
可し、ステップS44では入力側垂直周波数信号IVの
状態を示すVパルスフラグをセットする。
The control device 31 inhibits the interrupt routine in step S41, performs initialization processing in step S42, permits the interrupt routine in step S43, and in step S44, the V pulse indicating the state of the input-side vertical frequency signal IV. Set a flag.

【0071】制御装置31は、ステップS45では画像
処理装置10のラインメモリ11が一杯になった場合に
ハイレベルを出力するエラーフラグmem_full
と、ラインメモリ11が空になった場合にハイレベルを
出力するエラーフラグmem_emptyを初期化する
か否かによって処理を分岐させる。エラーフラグの初期
化は、たとえば入力側水平周波数IHが変化したときに
実行される。制御装置31は、エラーフラグmem_f
ullおよびエラーフラグmem_emptyを初期化
するときには“YES”として処理をステップS46に
進め、初期化しないときには“NO”として処理をステ
ップS50に進める。
At step S45, the control device 31 outputs an error flag mem_full that outputs a high level when the line memory 11 of the image processing device 10 is full.
The process branches depending on whether or not to initialize an error flag mem_empty that outputs a high level when the line memory 11 becomes empty. The initialization of the error flag is executed, for example, when the input horizontal frequency IH changes. The control device 31 sets the error flag mem_f
If the "ull" and the error flag mem_empty are to be initialized, the process proceeds to step S46 as "YES", and if not, the process proceeds to step S50 as "NO".

【0072】制御装置31は、ステップS46ではサー
チする読み出し開始位置をフレーム単位でカウントする
サーチフレームカウンターを1フレーム目に初期化し、
ステップS47では書き込み開始位置(ライン)の初期
化と書き込み期間を設定し、ステップS48では読み出
し開始位置(ライン)の初期化および読み出し期間を設
定し、ステップS49ではエラーフラグ保持領域を初期
化する。制御装置31は、ステップS47で書き込み期
間を通常動作時の半分に設定し、ステップS48で読み
出し期間を通常動作時の半分に設定する。
In step S46, the control device 31 initializes a search frame counter for counting the read start position to be searched for on a frame basis to the first frame.
In step S47, a write start position (line) is initialized and a write period is set. In step S48, a read start position (line) is initialized and a read period is set. In step S49, an error flag holding area is initialized. The control device 31 sets the write period to half of the normal operation in step S47, and sets the read period to half of the normal operation in step S48.

【0073】ここで、サーチフレームカウンターとは、
2フレーム分をカウントするカウンターである。1フレ
ーム目でエラーフレームを検出するための設定値(レジ
スタ値)を設定し、2フレーム目でエラーを検出する。
すなわち、レジスタ設定期間とエラー検出期間との2フ
レームかけて、1回分としてエラーを検出する。これ
は、多重割り込みが入るので誤動作を防止するために用
いるものである。
Here, the search frame counter is
This is a counter that counts two frames. A set value (register value) for detecting an error frame is set in the first frame, and an error is detected in the second frame.
That is, the error is detected as one time over two frames of the register setting period and the error detection period. This is used to prevent malfunction due to multiple interrupts.

【0074】制御装置31は、ステップS50ではエラ
ーフラグmem_fullおよびエラーフラグmem_
emptyに基づいて、最適な読み出し開始位置(ライ
ン)をサーチ中であるか否かによって処理を分岐させ
る。制御装置31は、サーチ中であるときには“YE
S”として処理をステップS51に進め、サーチ中でな
いときには“NO”として処理をステップS60に進め
る。
At step S50, the control device 31 sets the error flag mem_full and the error flag mem_
Based on the empty, the process branches depending on whether or not the optimum read start position (line) is being searched. When the search is being performed, the control device 31 outputs “YE
The process proceeds to Step S51 as “S”, and proceeds to Step S60 when “NO” when the search is not being performed.

【0075】制御装置31は、ステップS51ではサー
チフレームカウンターが1フレーム目であるか否かによ
って処理を分岐させる。制御装置31は、サーチフレー
ムカウンターが1フレーム目であるときには“YES”
として処理をステップS52に進め、1フレーム目でな
いときには“NO”として処理をステップS56に進め
る。
In step S51, the control device 31 branches the process depending on whether or not the search frame counter is the first frame. Control device 31 determines “YES” when the search frame counter is the first frame.
The process proceeds to step S52, and when the frame is not the first frame, “NO” is determined and the process proceeds to step S56.

【0076】制御装置31は、ステップS52でエラー
フラグによる割り込みを禁止し、ステップS53で読み
出し開始ラインをインクリメントして設定し、ステップ
S53でサブフレームカウンターを2に設定し、ステッ
プS55においてステップS52で禁止したエラーフラ
グ割り込みを許可する。
The controller 31 prohibits the interruption by the error flag in step S52, increments and sets the read start line in step S53, sets the subframe counter to 2 in step S53, and sets the subframe counter to 2 in step S55. Enable the disabled error flag interrupt.

【0077】制御装置31は、ステップS56で現フレ
ームのエラーフラグを初期化する。制御装置31は、ス
テップS57でVパルスフラグがリセットされているか
否かによって分岐する。制御装置31は、Vパルスフラ
グがリセットされているときは“NO”として処理をス
テップS58に進め、リセットされていないときは“Y
ES”として処理をこのステップS57に戻す。ステッ
プS57では、エラーフラグの割り込み待ちをしてい
る。Vパルスフラグは割り込みによってクリアされる
が、これについては先に図12のフローチャートを参照
して説明した。
The control device 31 initializes the error flag of the current frame in step S56. The control device 31 branches depending on whether or not the V pulse flag has been reset in step S57. When the V pulse flag has been reset, the control device 31 proceeds to step S58 with “NO”, and when not reset, returns “Y”.
The process returns to step S57 as "ES". In step S57, an interrupt for an error flag is awaited. The V pulse flag is cleared by the interrupt, which will be described with reference to the flowchart of FIG. did.

【0078】制御装置31は、ステップS58でエラー
フラグ保持領域を更新し、ステップS59でサーチフレ
ームカウンターを1に設定する。ステップS58のエラ
ーフラグ領域更新は、ビットシフトによりおこなわれ
る。
The control device 31 updates the error flag holding area in step S58, and sets the search frame counter to 1 in step S59. The update of the error flag area in step S58 is performed by a bit shift.

【0079】制御装置31は、ステップS60でエラー
フラグmem_fullおよびエラーフラグmem_e
mptyに基づいて、最適な読み出し開始位置(ライ
ン)のサーチが完了したか否かによって処理を分岐させ
る。制御装置31は、エラーフラグmem_fullお
よびエラーフラグmem_emptyのサーチが完了し
たときには“YES”として処理をステップS61に進
め、完了していないときには“NO”として処理をステ
ップS64に進める。サーチ完了は、読み出し開始ライ
ンが64ラインまで到達したことにより判断される。
“NO”の場合は、通常動作状態である。
The control device 31 determines in step S60 that the error flag mem_full and the error flag mem_e
Based on mpty, the process branches depending on whether or not the search for the optimum read start position (line) has been completed. When the search for error flag mem_full and error flag mem_empty is completed, control device 31 proceeds to step S61 as “YES”, and when not completed, proceeds to step S64 as “NO”. Search completion is determined by the fact that the read start line has reached 64 lines.
If "NO", it is in the normal operation state.

【0080】制御装置31は、ステップS61で“00
1”になるラインを検出し、ステップS62で“10
0”になるラインを検出し、ステップS63で検出ライ
ンのセンター値を計算と検出する。ステップS61の
“001”になるラインは、正常動作領域からエラー発
生領域に変化するラインを検出することによりおこなわ
れる。ステップS62の“100”になるラインは、エ
ラー発生領域から正常動作領域に変化するラインを検出
することによりおこなわれる。
The control device 31 sets “00” in step S61.
1 is detected, and “10” is determined in step S62.
The line that becomes "0" is detected, and the center value of the detected line is calculated and detected in step S63. The line that becomes "001" in step S61 is obtained by detecting the line that changes from the normal operation area to the error occurrence area. The line that becomes "100" in step S62 is performed by detecting a line that changes from the error occurrence area to the normal operation area.

【0081】制御装置31は、ステップS64でVパル
スフラグがリセットされているか否かによって処理を分
岐させる。制御装置31は、Vパルスフラグがリセット
されているときは“NO”として処理をステップS44
に戻し、リセットされていないときは“YES”として
処理をこのステップS64に戻す。Vパルスフラグは、
Vパルスフラグ割り込みによってクリアされるが、これ
については図12のローチャートを参照して説明した。
The control device 31 branches the process depending on whether or not the V pulse flag has been reset in step S64. When the V pulse flag has been reset, control device 31 determines that the determination is "NO" and proceeds to step S44.
If not, the process returns to step S64 as "YES". The V pulse flag is
It is cleared by the V pulse flag interrupt, which has been described with reference to the flowchart of FIG.

【0082】次に、エラーフラグmem_fullおよ
びエラーフラグmem_emptyの割り込みについて
説明する。
Next, the interruption of the error flag mem_full and the error flag mem_empty will be described.

【0083】エラーフラグmem_fullおよびエラ
ーフラグmem_emptyの割り込みは、図15に示
すように、エラーフラグが立ち上がるエッジで割り込
む。ステップS71で現フレームエラーフラグにセット
する。そして、割り込みルーチンを終了する。
As shown in FIG. 15, the interrupts of the error flag mem_full and the error flag mem_empty are interrupted at the rising edge of the error flag. In step S71, the current frame error flag is set. Then, the interrupt routine ends.

【0084】上述のように、本実施の形態の信号処理装
置は、入力側水平周波数信号IHに同期して画像処理装
置10内部のラインメモリ11に書き込み、走査線変換
後、入力側水平周波数信号IHと垂直方向の拡大率から
計算した出力側水平周波数信号OHで読み出す。
As described above, the signal processing apparatus of the present embodiment writes in the line memory 11 inside the image processing apparatus 10 in synchronization with the input-side horizontal frequency signal IH, converts the scanning line, and then converts the input-side horizontal frequency signal Reading is performed using the output-side horizontal frequency signal OH calculated from the IH and the magnification in the vertical direction.

【0085】本実施の形態の信号処理装置は、入力側水
平周波数信号IHを出力側に具備した水晶発振器34か
らの出力側基準クロックでリアルタイムに計測する。そ
の値と垂直方向の変換率から出力側の読み出しクロック
を計算しラインメモリ11への書き込みクロックと読み
出しクロックの比を求める。この読み出しクロックを出
力側基準クロックを分周して発生させることによって、
内部ラインメモリ11内で破綻しないような書き込みお
よび読み出し周波数関係を実現したものである。
The signal processing apparatus of the present embodiment measures the input-side horizontal frequency signal IH in real time using the output-side reference clock from the crystal oscillator 34 provided on the output side. The read clock on the output side is calculated from the value and the conversion rate in the vertical direction, and the ratio of the write clock to the line memory 11 and the read clock is obtained. By generating this read clock by dividing the output side reference clock,
This realizes a write and read frequency relationship that does not cause a breakdown in the internal line memory 11.

【0086】本実施の形態の信号処理装置は、画像処理
装置10内のラインメモリ11に対して書き込み側に、
ラインメモリ11が一杯になっているかを示す手段と読
み出し側にラインメモリが空になっているか示す手段を
設けて、それらが破綻しないような書き込み開始位置t
Wおよび読み出し開始位置tRを検出することによって、
ラインメモリ11内で破綻しないような書き込みおよび
読み出しを実現した。
The signal processing device according to the present embodiment has a line memory 11 in an image processing device 10 on a writing side.
A means for indicating whether the line memory 11 is full and a means for indicating whether or not the line memory is empty are provided on the read side, and a write start position t such that they do not fail.
By detecting W and the read start position t R ,
Writing and reading without failure in the line memory 11 are realized.

【0087】本実施の形態の信号処理装置は、入力側水
平周波数信号IHと垂直方向の変換率から計算で求めた
読み出し側の水平基準周波数信号OH_PLLを入力の
垂直パルスで強制リセットをかけることによって、構成
ハードウェアのビット長と計算の精度による誤差を吸収
し使用するラインメモリ量を少なくする。
The signal processing apparatus according to the present embodiment performs a forced reset of the read-side horizontal reference frequency signal OH_PLL calculated from the input-side horizontal frequency signal IH and the vertical conversion rate with an input vertical pulse. In addition, the error due to the bit length of the configuration hardware and the accuracy of calculation is absorbed to reduce the amount of line memory used.

【0088】本実施の形態の信号処理装置は、上記の場
合に読み出し側の水平基準周波数信号OH_PLLに対
して同期をかけている出力側PLL34の内部分周器4
4のリセットと位相比較器43のディセーブル処理をお
こない、強制リセットによる読み出し側の出力側水平基
準周波数信号OH_PLLの乱れによる、出力側PLL
34で発生させているデータ読み出しクロックの乱れを
防止する。
The signal processing device of the present embodiment uses the internal divider 4 of the output-side PLL 34 synchronized with the read-side horizontal reference frequency signal OH_PLL in the above case.
4 and the phase comparator 43 are disabled, and the output side PLL is disturbed by the disturbance of the output side horizontal reference frequency signal OH_PLL on the read side due to the forced reset.
The data read clock generated at 34 is prevented from being disturbed.

【0089】本実施の形態の信号処理装置は、入力側水
平周波数信号IHを出力側に具備した水晶発振器34か
らの出力側基準クロックでリアルタイムに計測し、その
結果にヒステリシス特性を持たせノイズ、計測ミスに対
して安定した出力側水平基準周波数信号OH_PLLを
発生させる。
The signal processing apparatus according to the present embodiment measures the input-side horizontal frequency signal IH in real time using the output-side reference clock from the crystal oscillator 34 provided on the output side, and gives the result a hysteresis characteristic to reduce noise, An output-side horizontal reference frequency signal OH_PLL that is stable against a measurement error is generated.

【0090】[0090]

【発明の効果】以上説明したように、本発明によれば、
少ないラインメモリのみを用いていわゆるVESA規格
外の信号を入力した場合にも安定的に走査線変換するこ
とができる。また、入力信号周波数の温度特性変動にも
対応できる。さらに、出力側のデータ書き込みクロック
を入力側のデータ書き込みクロックに垂直周期で同期さ
せる必要がなく動作が安定する。
As described above, according to the present invention,
Scanning line conversion can be performed stably even when a signal outside the VESA standard is input using only a small number of line memories. Further, it is possible to cope with temperature characteristic fluctuation of the input signal frequency. Further, it is not necessary to synchronize the data write clock on the output side with the data write clock on the input side in a vertical cycle, and the operation is stabilized.

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

【図1】本実施の形態の信号処理装置の概略的な構成を
示すブロック図である。
FIG. 1 is a block diagram illustrating a schematic configuration of a signal processing device according to an embodiment.

【図2】画像処理装置の構成を示すブロック図である。FIG. 2 is a block diagram illustrating a configuration of an image processing apparatus.

【図3】画像を縦方向に1.25倍拡大する場合の垂直
周期で見たタイミング図である。
FIG. 3 is a timing diagram viewed in a vertical cycle when an image is enlarged 1.25 times in the vertical direction.

【図4】画像を縦方向に1.25倍拡大する場合の水平
周期で見たタイミング図である。
FIG. 4 is a timing diagram viewed in a horizontal cycle when an image is enlarged 1.25 times in the vertical direction.

【図5】画像を縦方向に1.5倍拡大する場合の垂直周
期で見たタイミング図である。
FIG. 5 is a timing diagram viewed in a vertical cycle when an image is enlarged 1.5 times in the vertical direction.

【図6】画像を縦方向に1.5倍拡大する場合の水平周
期で見たタイミング図である。
FIG. 6 is a timing diagram viewed in a horizontal cycle when an image is enlarged 1.5 times in the vertical direction.

【図7】入力側PLLおよび出力側PLLの構成を示す
ブロック図である。
FIG. 7 is a block diagram illustrating a configuration of an input-side PLL and an output-side PLL.

【図8】入力側PLLおよび出力側PLLにおける波形
を示す図である。
FIG. 8 is a diagram showing waveforms in an input PLL and an output PLL.

【図9】入力側水平周波数信号の計測するライン以外を
マスクした信号を示す図である。
FIG. 9 is a diagram showing a signal obtained by masking a line other than a line to be measured of an input horizontal frequency signal.

【図10】計測ブロックの構成を示すブロック図であ
る。
FIG. 10 is a block diagram illustrating a configuration of a measurement block.

【図11】出力側基準クロックの分周比を決定する処理
を示す図である。
FIG. 11 is a diagram illustrating a process of determining a frequency division ratio of an output-side reference clock.

【図12】Vパルス割り込み処理を示す図である。FIG. 12 is a diagram showing a V-pulse interruption process.

【図13】VGA規格の走査線をSVGA規格の走査線
に変換する際の波形を示す図である。
FIG. 13 is a diagram showing a waveform when a VGA standard scanning line is converted into an SVGA standard scanning line.

【図14】走査線を変換する処理を示すフローチャート
である。
FIG. 14 is a flowchart illustrating a process of converting a scanning line.

【図15】エラーフラグ割り込み処理を示す図である。FIG. 15 illustrates an error flag interrupt process.

【図16】従来の信号処理装置の概略的な構成を示す図
である。
FIG. 16 is a diagram showing a schematic configuration of a conventional signal processing device.

【符号の説明】[Explanation of symbols]

10 画像処理装置、20 パルス発生装置、31 制
御装置、33 入力側PLL、34 出力側PLL
Reference Signs List 10 image processing device, 20 pulse generator, 31 controller, 33 input side PLL, 34 output side PLL

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 入力される画像情報の走査線を変換して
出力する信号処理装置において、 複数のラインメモリと、 出力側の基準クロックを発生するクロック発生手段と、 上記クロック発生手段からの基準クロックに基づいて上
記画像情報の入力水平周波数を計測する計測手段と、 上記クロック発生手段からの基準クロックに基づいて出
力水平周波数を発生する周波数発生手段と、 上記複数のラインメモリに上記画像情報の走査線を順に
書き込み、上記計測手段で計測した上記入力水平周波数
と上記画像情報の垂直方向への拡大率に基づいて上記周
波数発生手段から発生される出力周波数を決定し、上記
出力周波数で上記複数のラインメモリから上記走査線を
順に読み出すように制御する制御手段とを有することを
特徴とする信号処理装置。
1. A signal processing apparatus for converting a scanning line of input image information and outputting the converted line, comprising: a plurality of line memories; a clock generating means for generating a reference clock on an output side; Measuring means for measuring an input horizontal frequency of the image information based on a clock; frequency generating means for generating an output horizontal frequency based on a reference clock from the clock generating means; and The scanning lines are sequentially written, and the output frequency generated from the frequency generation unit is determined based on the input horizontal frequency measured by the measurement unit and the magnification ratio of the image information in the vertical direction. Control means for controlling the scanning lines to be sequentially read from the line memory.
【請求項2】 上記複数のラインメモリがメモリフル状
態にあることを検出する第1の検出手段と、 上記複数のラインメモリがメモリエンプティ状態にある
ことを検出する第2の検出手段とをさらに有し、 上記制御手段は、上記第1の検出手段および上記第2の
検出手段からの検出結果に基づいて、上記複数のライン
メモリがメモリフル状態とメモリエンプティ状態の間に
あるように、上記複数のラインメモリへの走査線の書き
込みおよび読み出しのタイミングを制御することを特徴
とする請求項1記載の信号処理装置。
2. The apparatus according to claim 1, further comprising: first detection means for detecting that the plurality of line memories are in a memory full state; and second detection means for detecting that the plurality of line memories are in a memory empty state. The control means includes: a controller that controls the plurality of line memories to be in a memory full state and a memory empty state based on detection results from the first detection means and the second detection means. 2. The signal processing device according to claim 1, wherein timing of writing and reading of the scanning line to the plurality of line memories is controlled.
【請求項3】 上記制御手段は、上記周波数発生手段で
発生される出力水平周波数を、上記画像情報の垂直同期
信号により初期化するように制御することを特徴とする
請求項1記載の信号処理装置。
3. The signal processing apparatus according to claim 1, wherein said control means controls the output horizontal frequency generated by said frequency generation means to be initialized by a vertical synchronization signal of said image information. apparatus.
【請求項4】 上記周波数発生手段は、 上記クロック発生手段からの基準クロックと他の信号の
位相を比較する位相比較手段と、 上記位相比較手段からの信号を分周して上記他の信号と
して上記位相比較手段に入力する分周手段とを有し、 上記制御手段は、上記位相比較手段および上記分周手段
を上記垂直同期信号により初期化するように制御するこ
とを特徴とする請求項3記載の信号処理装置。
4. The frequency generating means includes: phase comparing means for comparing the phase of a reference clock from the clock generating means with another signal; and dividing the signal from the phase comparing means as the other signal. 4. A frequency dividing means for inputting to the phase comparing means, wherein the control means controls the phase comparing means and the frequency dividing means to be initialized by the vertical synchronizing signal. A signal processing device according to claim 1.
【請求項5】 上記計測手段は、上記入力水平周波数の
計測に関してヒステリシス特性を有することを特徴とす
る請求項1記載の信号処理装置。
5. The signal processing apparatus according to claim 1, wherein said measurement means has a hysteresis characteristic with respect to the measurement of said input horizontal frequency.
【請求項6】 複数のラインメモリを有し、入力される
画像情報の走査線を変換して出力する信号処理方法にお
いて、 出力側の基準クロックを発生するクロック発生工程と、 上記クロック発生工程からの基準クロックに基づいて上
記画像情報の入力水平周波数を計測する計測工程と、 上記クロック発生工程からの基準クロックに基づいて出
力水平周波数を発生する周波数発生工程と、 上記複数のラインメモリに上記画像情報の走査線を順に
書き込み、上記計測工程で計測した上記入力水平周波数
と上記画像情報の垂直方向への拡大率に基づいて上記周
波数発生工程から発生される出力周波数を決定し、上記
出力周波数で上記複数のラインメモリから上記走査線を
順に読み出すように制御する制御工程とを有することを
特徴とする信号処理方法。
6. A signal processing method having a plurality of line memories and converting and outputting scanning lines of input image information, comprising: a clock generating step of generating a reference clock on an output side; A measuring step of measuring an input horizontal frequency of the image information based on the reference clock of; a frequency generating step of generating an output horizontal frequency based on the reference clock from the clock generating step; Write the scanning lines of information in order, determine the output frequency generated from the frequency generation step based on the input horizontal frequency measured in the measurement step and the vertical magnification of the image information, the output frequency A control step of controlling the scanning lines to be sequentially read from the plurality of line memories. .
JP11082374A 1999-03-25 1999-03-25 Signal processing unit and its method Pending JP2000278648A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11082374A JP2000278648A (en) 1999-03-25 1999-03-25 Signal processing unit and its method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11082374A JP2000278648A (en) 1999-03-25 1999-03-25 Signal processing unit and its method

Publications (2)

Publication Number Publication Date
JP2000278648A true JP2000278648A (en) 2000-10-06
JP2000278648A5 JP2000278648A5 (en) 2006-02-16

Family

ID=13772823

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11082374A Pending JP2000278648A (en) 1999-03-25 1999-03-25 Signal processing unit and its method

Country Status (1)

Country Link
JP (1) JP2000278648A (en)

Similar Documents

Publication Publication Date Title
JP2942750B2 (en) Method and apparatus for clock recovery in a digital display
KR100205009B1 (en) A video signal conversion device and a display device having the same
US5610622A (en) Display control device
JPH10153989A (en) Dot clock circuit
US6483502B2 (en) Image reproducing apparatus, projector, image reproducing system, and information storing medium
JP3324401B2 (en) PLL circuit
KR20090031842A (en) Signal processing device
JPH1098740A (en) Video signal converting device and display device equipped with the same
US6768385B2 (en) Intelligent phase lock loop
JPH04270570A (en) Digital phase-locked loop circuit
US7375592B2 (en) System and method for maintaining an accurate frequency on a voltage controlled oscillator
EP0316946B1 (en) Video signal hard copying apparatus
JP3521206B2 (en) Liquid crystal display element phase frequency detection circuit
JP2000278648A (en) Signal processing unit and its method
JP3872397B2 (en) Asynchronous processing device for image signals
JPH11184422A (en) Synchronizing signal processing circuit and method, display device and record medium
JP3796908B2 (en) Phase lock inspection circuit and clock generation device having the same
JP3388033B2 (en) Display control device
KR930005811B1 (en) Display control apparatus and iced apparatus therefor
JP2001013481A (en) Liquid crystal display device
JPH0865542A (en) Horizontal synchronizing circuit
JP3203667B2 (en) Vertical synchronization processing circuit
TW546949B (en) Apparatus and method for processing synchronizing signal of monitor
JPH1049103A (en) Display controller
JPH09186976A (en) Frequency conversion circuit

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20051227

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20051227

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080604

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080617

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080818

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20081118