JPH03196186A - Synchronizing signal inversion circuit - Google Patents

Synchronizing signal inversion circuit

Info

Publication number
JPH03196186A
JPH03196186A JP1337123A JP33712389A JPH03196186A JP H03196186 A JPH03196186 A JP H03196186A JP 1337123 A JP1337123 A JP 1337123A JP 33712389 A JP33712389 A JP 33712389A JP H03196186 A JPH03196186 A JP H03196186A
Authority
JP
Japan
Prior art keywords
signal
down counter
synchronization signal
circuit
polarity
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
JP1337123A
Other languages
Japanese (ja)
Inventor
Cho Yagishita
八木下 超
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP1337123A priority Critical patent/JPH03196186A/en
Publication of JPH03196186A publication Critical patent/JPH03196186A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To eliminate a control terminal which instructs the signal polarity of a synchronizing signal from the outside and to automatically discriminate the signal polarity of the synchronizing signal by providing an EOR which inverts the synchronizing signal with the MSB of an up/down counter. CONSTITUTION:The circuit is equipped with the up/down counter 11 by which up-count and down/count are switched with the signal polarity of an inputted synchronizing signal. Furthermore, it is equipped with circuits 12-14 which control the Enable terminal of the up/down counter 11 with the overflow detection signal and the underflow detection signal of the up/down counter 11, and it inverts the synchronizing signal with the MSB output signal of the up/down counter 11 by using the EOR 16. In such a way, it is possible to eliminate the control terminal which instructs the signal polarity of the synchronizing signal from the outside, and to discriminate the signal polarity of the synchronizing signal in the inside.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、パソコンなどのCRT及び液晶パネルのコン
トローラ(制御回路部)における、水平及び垂直同期信
号の信号極性の反転回路に関するものである。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a circuit for inverting the signal polarity of horizontal and vertical synchronizing signals in a controller (control circuit section) of a CRT and liquid crystal panel of a personal computer or the like.

従来の技術 近年急速なパソコンの普及とともにデイスプレー装置に
液晶パネル等を用いることも増えてきている。
2. Description of the Related Art In recent years, with the rapid spread of personal computers, the use of liquid crystal panels and the like in display devices has also increased.

デイスプレーにCRT、液晶パネルのどちらを用いる場
合においても、そのコントロールの基準となるのは、垂
直同期信号(以下VSYNCと略す)及び水平同期信号
(以下H3YNCと略す)の2つの同期信号である。
Regardless of whether a CRT or a liquid crystal panel is used for the display, the control standards are two synchronization signals: a vertical synchronization signal (hereinafter abbreviated as VSYNC) and a horizontal synchronization signal (hereinafter abbreviated as H3YNC). .

通常テレビ信号におけるこれらのVSYNC。These VSYNCs in normal television signals.

H8YNCは負論理で統一されているが、パソコン等に
おいてはその機種によっては、これらを正論理信号とし
て用いる場合もある。よって、CRTまたは液晶デイス
プレーを制御する回路においては、これらの同期信号の
信号極性を制御回路の同期信号極性仕様に合うように必
要に応じて反転させて以降のデジタル処理を行なわなけ
ればならない。
H8YNC is standardized as a negative logic signal, but depending on the model of a personal computer, these signals may be used as a positive logic signal. Therefore, in a circuit that controls a CRT or liquid crystal display, the signal polarity of these synchronizing signals must be inverted as necessary to match the synchronizing signal polarity specification of the control circuit, and subsequent digital processing must be performed.

以下に従来の同期信号反転回路について説明する。A conventional synchronous signal inversion circuit will be explained below.

第3図は従来の同期信号反転回路の回路図であり、23
は垂直同期信号入力端子、24は水平同期信号入力端子
、25は垂直同期信号極性制御端子(CONTV) 、
26は水平同期信号極性制御端子(CONTH) 、2
1.22はFOR(排他的論理和)、27は垂直同期信
号出力端子、28は水平同期信号出力端子である。
FIG. 3 is a circuit diagram of a conventional synchronous signal inversion circuit, with 23
is a vertical synchronization signal input terminal, 24 is a horizontal synchronization signal input terminal, 25 is a vertical synchronization signal polarity control terminal (CONTV),
26 is a horizontal synchronization signal polarity control terminal (CONTH), 2
1.22 is FOR (exclusive OR), 27 is a vertical synchronizing signal output terminal, and 28 is a horizontal synchronizing signal output terminal.

以上のように構成された同期信号反転回路について以下
その動作を説明する。
The operation of the synchronization signal inversion circuit configured as described above will be explained below.

極性制御端子C0NTH,C0NTVは、外部のマイク
ロコンピュータ等により設定され、制御回路部では入力
される同期信号の信号極性判別を行なうことなく、C0
NTV、C0NTHで制御されるままに同期信号の論理
を反転していた。すなわち、制御回路部のデジタル処理
がVSYNCを負論理として処理していた場合に、外部
から垂直同期信号入力端子に正論理のVSYNCを入力
する時は、垂直同期信号極性制御端子(CON T V
)をHレベルに設定することで制御回路部で使用するV
SYNCを負論理とすることができる。
The polarity control terminals C0NTH and C0NTV are set by an external microcomputer, etc., and the control circuit section does not discriminate the signal polarity of the input synchronization signal.
The logic of the synchronization signal was inverted as controlled by NTV and C0NTH. In other words, when the digital processing of the control circuit unit processes VSYNC as negative logic, when inputting positive logic VSYNC to the vertical synchronization signal input terminal from the outside, the vertical synchronization signal polarity control terminal (CON T V
) is set to H level to reduce the V used in the control circuit.
SYNC can be a negative logic.

この同期信号反転回路をCRTもしくは液晶デイスプレ
ーの制御回路部の同期信号入力回路部分に用いることで
上記制御回路部に外部から入力される同期信号が負論理
もしくは正論理によらず、制御回路において同じ処理を
実現していた。
By using this synchronization signal inversion circuit in the synchronization signal input circuit part of the control circuit section of a CRT or liquid crystal display, the synchronization signal inputted from the outside to the control circuit section can be input to the control circuit regardless of whether it is a negative logic or a positive logic. The same processing was achieved.

また、H8YNCについても同様にC0NTHにて論理
設定を行なう。
Similarly, logic setting for H8YNC is performed using C0NTH.

発明が解決しようとする課題 しかしながら、上記の従来の構成では外部よりC0NT
V、C0NTHの極性制御信号を入力する必要があり、
端子が2本必要であり、更にこの端子を制御するため、
マイクロコンピュータにその役割を負わせる必要がある
という問題点を有していた。
Problems to be Solved by the Invention However, in the above conventional configuration, the C0NT
It is necessary to input the polarity control signals of V and C0NTH,
Two terminals are required, and in order to control these terminals,
The problem was that the microcomputer had to take on that role.

本発明は、上記従来の問題点を解決するもので、C0N
TV、C0NTHの極性制御端子を廃止し、制御回路部
において外部から入力される同期信号の信号極性を自動
的に判別することのできる同期信号反転回路を提供する
ことを目的とする。
The present invention solves the above-mentioned problems of the conventional technology.
It is an object of the present invention to provide a synchronization signal inversion circuit that can eliminate the polarity control terminal of a TV and C0NTH and automatically determine the signal polarity of a synchronization signal input from the outside in a control circuit section.

課題を解決するための手段 この目的を達成するために本発明の同期信号反転回路は
アップダウンカウンターと、アップダウンカウンターの
オーバーフロー アンダーフロー検出回路により制御さ
れるカウンター制御回路と、アップダウンカウンターの
MSB信号で同期信号を反転するFORから構成されて
いる。
Means for Solving the Problems To achieve this object, the synchronous signal inversion circuit of the present invention includes an up-down counter, a counter control circuit controlled by an overflow/underflow detection circuit of the up-down counter, and an MSB of the up-down counter. It consists of a FOR that inverts the synchronization signal with the signal.

作用 この構成によって、外部からの制御信号を用いることな
く、入力される同期信号の信号極性を自動的に判別し、
制御回路部の仕様に合わせた信号論理に信号極性を反転
させることができる。
Effect: With this configuration, the signal polarity of the input synchronization signal can be automatically determined without using an external control signal.
The signal polarity can be inverted to a signal logic that matches the specifications of the control circuit section.

実施例 以下に本発明の一実施例について図面を参照しながら説
明する。
EXAMPLE An example of the present invention will be described below with reference to the drawings.

第1図は本発明の一実施例における同期信号反転回路の
ブロック図を示すものである。
FIG. 1 shows a block diagram of a synchronous signal inversion circuit in one embodiment of the present invention.

第1図において、11はアップダウンカウンター 12
はカウンター制御回路、13はオーバーフロー検出回路
、14はアンダーフロー検出回路、15はクロック分周
回路、16はEOR。
In Figure 1, 11 is an up-down counter 12
13 is an overflow detection circuit, 14 is an underflow detection circuit, 15 is a clock frequency dividing circuit, and 16 is an EOR.

17は同期信号入力端子、18はクロック入力端子であ
る。
17 is a synchronization signal input terminal, and 18 is a clock input terminal.

第2図は、第1図におけるカウンター制御回路12の回
路図を示すものである。
FIG. 2 shows a circuit diagram of the counter control circuit 12 in FIG. 1.

第2図において、121は同期信号入力端子、122は
ラッチ用クロックの入力端子、123はオーバーフロー
検出信号入力端子、124はアンダーフロー検出信号入
力端子、125はカウンター制御回路出力端子、126
はインバータ、127はDフリップフロップ、128,
130はNORゲート、129はANDゲートである。
In FIG. 2, 121 is a synchronization signal input terminal, 122 is a latch clock input terminal, 123 is an overflow detection signal input terminal, 124 is an underflow detection signal input terminal, 125 is a counter control circuit output terminal, and 126 is an overflow detection signal input terminal.
is an inverter, 127 is a D flip-flop, 128,
130 is a NOR gate, and 129 is an AND gate.

以上のように構成された本実施例の同期信号反転回路に
ついて以下その動作を説明する。
The operation of the synchronizing signal inversion circuit of this embodiment configured as described above will be explained below.

一般に同期信号は、VSYNC,H8YNC共に信号の
Lレベルの期間とHレベルの期間には約10倍はどの違
いがある。
In general, there is a difference of about 10 times between the L level period and the H level period of the synchronizing signal for both VSYNC and H8YNC.

例えば、ある基準周波数のクロック信号で同期信号のL
レベル及びHレベルの幅をカウントすると、−船釣な負
論理の同期信号の場合、Lレベル区間が100クロック
幅とすれば、Hレベル区間は1000クロツク程度にな
る。この性質を利用して、同期信号のLレベル区間はア
ップダウンカウンターをアップカウンターとして動作さ
せ、Hレベル区間はダウンカウンタ−として動作させる
。すると負論理の同期信号の場合はHレベルの方が長い
ため、同期信号のHレベル区間においてはアップダウン
カウンターの値はOにむかってカウントダウンしていく
。アンダーフロー検出回路は、アップダウンカウンター
の出力が0になったことを検出するとアンダーフロー検
出回路の出力をHレベルにする。すなわち、アンダーフ
ロー検出回路は、アップダウンカウンターの出力信号を
入力とする多大力NORゲートで構成されているものと
する。
For example, with a clock signal of a certain reference frequency, the L of the synchronization signal
Counting the widths of the level and H level, in the case of a negative logic synchronization signal with negative logic, if the L level section is 100 clocks wide, the H level section will be approximately 1000 clocks wide. Utilizing this property, the up/down counter is operated as an up counter during the L level section of the synchronizing signal, and as a down counter during the H level section. Then, in the case of a negative logic synchronization signal, since the H level is longer, the value of the up/down counter counts down toward O during the H level section of the synchronization signal. When the underflow detection circuit detects that the output of the up/down counter becomes 0, it sets the output of the underflow detection circuit to H level. That is, it is assumed that the underflow detection circuit is constituted by a large-power NOR gate that receives the output signal of the up-down counter.

第1図におけるカウンター制御回路12は第2図に示す
回路で実現できる。第2図に示すように同期信号のHレ
ベル期間にアンダーフロー検出信号124がHレベルに
なると、第2図のカウンター制御回路の出力125がL
となり第1図のアップダウンカウンター11がDisa
bleとなり、カウントダウンが停止する。よって、ア
ップダウンカウンターの値は、同期信号はHレベル期間
にダウンカウントし、0になった状態でホールドされる
The counter control circuit 12 in FIG. 1 can be realized by the circuit shown in FIG. As shown in FIG. 2, when the underflow detection signal 124 becomes H level during the H level period of the synchronization signal, the output 125 of the counter control circuit in FIG.
Next up/down counter 11 in Figure 1 is Disa.
ble, and the countdown stops. Therefore, the value of the up/down counter counts down during the H level period of the synchronization signal, and is held when it reaches 0.

次に同期信号のLレベル期間になるとアップダウンカウ
ンターはアップカウントを開始する。ここで、あらかじ
め、アップダウンカウンターのビット長と、カウントク
ロック信号との関係を、同期信号のパルス幅の短い方(
負論理ならばLレベル幅)をカウントしても、カウント
値が(201)/2以下(nはアップダウンカウンター
のビット長)になるように設定しておけば、Lレベル区
間にカウンターが0からカウントアツプしてもカウント
値が(2n−1)/2を越えないためカウンターのMS
BはLレベルのままである。
Next, when the synchronization signal reaches the L level period, the up/down counter starts counting up. Here, the relationship between the bit length of the up-down counter and the count clock signal is determined in advance by the shorter pulse width of the synchronization signal (
If the count value is set to be less than (201)/2 (n is the bit length of the up/down counter) even if the count value is (201)/2 or less (n is the bit length of the up/down counter), the counter will be 0 during the L level interval. Since the count value does not exceed (2n-1)/2 even if the count is increased from
B remains at L level.

このMSB出力信号と同期信号とのFORをとってもM
SB出力信号がLレベルのため同期信号は反転せず、負
論理信号として以後の制御回路部に伝達される。
Even if we take the FOR of this MSB output signal and the synchronization signal,
Since the SB output signal is at L level, the synchronization signal is not inverted and is transmitted to the subsequent control circuit section as a negative logic signal.

また、同期信号が正論理の場合は、Hレベルのパルス幅
が短く、Lレベルのパルス幅が長いため、Lレベルの期
間にアップダウンカウンターはアップカウントを行ない
カウンターのすべてのビットが1になるまでアップカウ
ントする。ここで、オーバーフロー検出回路はアップダ
ウンカウンターの出力がすべて1になるとオーバーフロ
ー検出回路の出力をLレベルにするものとする。すなわ
ち、アップダウンカウンターの出力信号を入力とする多
入力のNAND回路で構成されているものとする。
Also, when the synchronization signal is positive logic, the H level pulse width is short and the L level pulse width is long, so the up/down counter counts up during the L level period and all bits of the counter become 1. Count up to. Here, it is assumed that the overflow detection circuit sets the output of the overflow detection circuit to L level when all the outputs of the up/down counters become 1. That is, it is assumed that the circuit is composed of a multi-input NAND circuit that receives the output signal of an up-down counter.

オーバーフロー検出回路13の出力がLレベルになると
第2図のカウンター制御回路の123の入力端子がLレ
ベルになり、125の出力端子はLレベルになり、第1
図のアップカウンター11のEnable端子をLにす
ることでカウントアツプが停止し、アップダウンカウン
ターの出力がすべて1の状態でホールドされる。
When the output of the overflow detection circuit 13 becomes L level, the input terminal 123 of the counter control circuit in FIG. 2 becomes L level, the output terminal 125 becomes L level, and the first
By setting the Enable terminal of the up counter 11 in the figure to L, counting up is stopped, and all outputs of the up/down counter are held at 1.

次に同期信号がHレベルになった時から、アップダウン
カウンターのEnable端子はHレベルになりダウン
カウントを開始する。しかしながら、Hレベル期間のカ
ウント値は(20−1)/2以下になるようにビット長
とクロック信号の関係が決められているため、アップダ
ウンカウンターのMSBはHレベルをホールドし、Lレ
ベルになることはない。アップダウンカウンターのMS
BがHのため、EORにより同期信号は反転し正論理で
入力された同期信号は負論理となって、以後の制御回路
部へ伝達される。
Next, when the synchronization signal becomes H level, the Enable terminal of the up/down counter becomes H level and starts counting down. However, since the relationship between the bit length and the clock signal is determined so that the count value during the H level period is less than (20-1)/2, the MSB of the up/down counter holds the H level and changes to the L level. It won't happen. Up-down counter MS
Since B is H, the synchronization signal is inverted by EOR, and the synchronization signal that was input at positive logic becomes negative logic and is transmitted to the subsequent control circuit section.

以上のように、本実施例によれば、入力される同期信号
の信号極性によって、アップカウントとダウンカウント
が切換わるアップダウンカウンターを備え、更にアップ
ダウンカウンターのEnab I e端子をアップダウ
ンカウンターのオーバーフロー検出信号及びアンダーフ
ロー検出信号で制御する回路を備え、アップダウンカウ
ンターのMSB出力によってEORを用いて同期信号を
反転させる構成にしたことにより、外部より同期信号の
信号極性を指示する制御端子を削除し、内部で同期信号
の信号極性を判別することができる。
As described above, this embodiment includes an up-down counter that switches between up-counting and down-counting depending on the signal polarity of the input synchronization signal, and further connects the Enab Ie terminal of the up-down counter to the up-down counter's Enab Ie terminal. Equipped with a circuit that is controlled by an overflow detection signal and an underflow detection signal, and configured to invert the synchronization signal using EOR based on the MSB output of the up/down counter, it is possible to use a control terminal for externally instructing the signal polarity of the synchronization signal. The signal polarity of the synchronization signal can be determined internally.

発明の効果 本発明は、入力される同期信号の信号極性により、アッ
プカウントとダウンカウントが切換わるアップダウンカ
ウンターと、アップダウンカウンターのEnable端
子をアップダウンカウンターのオーバーフロー検出及び
アンダーフロー検出で制御する回路と、アンプダウンカ
ウンタ−のMSBで同期信号を反転するEORを設ける
ことにより、外部から同期信号の信号極性を指示する制
御端子を削除することができ、更に、制御端子を削除し
たことにより制御端子をコントロールスるマイクロコン
ピュータの負担が減るという効果を得ることのできる優
れた同期信号反転回路を実現できるものである。
Effects of the Invention The present invention controls an up-down counter that switches between up-counting and down-counting depending on the signal polarity of an input synchronization signal, and an enable terminal of the up-down counter by overflow detection and underflow detection of the up-down counter. By providing a circuit and an EOR that inverts the synchronization signal using the MSB of the amplifier down counter, it is possible to eliminate the control terminal that instructs the signal polarity of the synchronization signal from the outside. It is possible to realize an excellent synchronous signal inversion circuit that can reduce the burden on the microcomputer that controls the terminals.

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

第1図は本発明の一実施例における同期信号反転回路の
ブロック図、第2図は第1図のカウンター制御回路の一
実施例における回路図、第3図は従来の同期信号極性反
転回路のブロック図である。 11・・・・・・アップダウンカウンター(nビット)
、12・・・・・・カウンター制御回路、13・・・・
・・オーバーフロー検出回路、14・・・・・・アンダ
ーフロー検出回路、15・・・・・・クロック分周回路
、16・・・・・・EOR(排他的論理和)、17・・
・・・・同期信号入力端子、18・・・・・・クロック
入力端子、19・・・・・・同期信号出力端子。
FIG. 1 is a block diagram of a synchronous signal inversion circuit according to an embodiment of the present invention, FIG. 2 is a circuit diagram of an embodiment of the counter control circuit of FIG. 1, and FIG. 3 is a block diagram of a conventional synchronous signal polarity inversion circuit. It is a block diagram. 11...Up/down counter (n bits)
, 12... Counter control circuit, 13...
... Overflow detection circuit, 14 ... Underflow detection circuit, 15 ... Clock frequency division circuit, 16 ... EOR (exclusive OR), 17 ...
... Synchronous signal input terminal, 18 ... Clock input terminal, 19 ... Synchronous signal output terminal.

Claims (1)

【特許請求の範囲】[Claims] 入力される同期信号の信号極性によりアップカウントも
しくはダウンカウントを実行するアップダウンカウンタ
ーと、前記アップダウンカウンターの値のオーバーフロ
ー、アンダーフローを検出するオーバーフロー検出回路
及びアンダーフロー検出回路と、前記オーバーフロー検
出回路とアンダーフロー検出回路の出力によりアップダ
ウンカウンターの動作を制御するカウンター制御回路と
、前記アップダウンカウンターのMSB出力信号により
、入力される同期信号を反転させるEOR(排他的論理
和)を備えたことを特徴とする同期信号反転回路。
an up-down counter that performs up-counting or down-counting depending on the signal polarity of an input synchronization signal; an overflow detection circuit and an underflow detection circuit that detect overflow or underflow of the value of the up-down counter; and the overflow detection circuit. and a counter control circuit that controls the operation of the up-down counter based on the output of the underflow detection circuit, and an EOR (exclusive OR) that inverts the input synchronization signal using the MSB output signal of the up-down counter. A synchronous signal inversion circuit featuring:
JP1337123A 1989-12-26 1989-12-26 Synchronizing signal inversion circuit Pending JPH03196186A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1337123A JPH03196186A (en) 1989-12-26 1989-12-26 Synchronizing signal inversion circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1337123A JPH03196186A (en) 1989-12-26 1989-12-26 Synchronizing signal inversion circuit

Publications (1)

Publication Number Publication Date
JPH03196186A true JPH03196186A (en) 1991-08-27

Family

ID=18305656

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1337123A Pending JPH03196186A (en) 1989-12-26 1989-12-26 Synchronizing signal inversion circuit

Country Status (1)

Country Link
JP (1) JPH03196186A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
USRE44814E1 (en) 1992-10-23 2014-03-18 Avocent Huntsville Corporation System and method for remote monitoring and operation of personal computers

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
USRE44814E1 (en) 1992-10-23 2014-03-18 Avocent Huntsville Corporation System and method for remote monitoring and operation of personal computers

Similar Documents

Publication Publication Date Title
KR960011562B1 (en) Auto sync. polarity control circuit
EP2223193B1 (en) Glitch free 2-way clock switch
JPH03196186A (en) Synchronizing signal inversion circuit
JPH0198313A (en) Synchronizing circuit
JPH0316056B2 (en)
ES8700821A1 (en) Sychronizing the operation of a computing means with a reference frequency signal.
JP2561750B2 (en) Pulse generation circuit
JPH06348507A (en) Microcomputer
JPH09191418A (en) Pseudo synchronization signal generating circuit for digital video processor
SE518155C2 (en) Digital phase-locked loop
JPS61262827A (en) Semiconductor integrated circuit device
KR100444796B1 (en) Circuit for generating resolution mode signal for use in liquid crystal display device, especially supplying uniform resolution mode signal
JPH0438184B2 (en)
JP2798918B2 (en) Pulse width modulation circuit
KR100237298B1 (en) Interrupt signal generating control apparatus
JPH0332115Y2 (en)
TW546949B (en) Apparatus and method for processing synchronizing signal of monitor
JPH03280085A (en) Control circuit for display device
JPS6163111A (en) Digital pll circuit
JPH10303738A (en) Counter
JP2656241B2 (en) Up-down counter circuit
JPS62143515A (en) Synchronism control circuit
JPH05298068A (en) Comparator
JPH0650856B2 (en) Digital signal latch circuit
JP2000358169A (en) External synchronization compensating circuit