JPH07219480A - Counter circuit - Google Patents

Counter circuit

Info

Publication number
JPH07219480A
JPH07219480A JP6007719A JP771994A JPH07219480A JP H07219480 A JPH07219480 A JP H07219480A JP 6007719 A JP6007719 A JP 6007719A JP 771994 A JP771994 A JP 771994A JP H07219480 A JPH07219480 A JP H07219480A
Authority
JP
Japan
Prior art keywords
counter
circuit
output
counting
voltage
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
JP6007719A
Other languages
Japanese (ja)
Inventor
Isao Akima
勇夫 秋間
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP6007719A priority Critical patent/JPH07219480A/en
Priority to KR1019950001357A priority patent/KR0160359B1/en
Publication of JPH07219480A publication Critical patent/JPH07219480A/en
Pending legal-status Critical Current

Links

Landscapes

  • Transforming Electric Information Into Light Information (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)
  • Liquid Crystal (AREA)
  • Liquid Crystal Display Device Control (AREA)

Abstract

PURPOSE:To simplify the peripheral circuit of a counter by adding a reset function to the counter circuit. CONSTITUTION:A counter 11 is integrated with a comparator 15 on the same semiconductor substrate 10. The counter 11 counts the clocks inputted from a clock input terminal 12, and it is reset by the comparison output of the comparator 15. The carry signal of the counter 11 is outputted from an output terminal 13 as the start pulse and the comparison output of the comparator 15 is outputted from an output terminal 18 as the reset pulse.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、リセット機能を内蔵し
たカウンタ回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a counter circuit having a reset function.

【0002】[0002]

【従来の技術】携帯用コンピュータ等に搭載される液晶
表示パネル(LCDパネル)においては、一定周期のク
ロックによって動作するシフトレジスタ構成の駆動回路
が用いられる。この駆動回路は、LCDパネルの表示画
素を水平方向に走査する水平ドライバ及び垂直方向に走
査する垂直ドライバからなり、垂直ドライバが1行毎に
走査する表示画素に、水平ドライバから与えられる1行
分の表示データを表示するように構成される。
2. Description of the Related Art In a liquid crystal display panel (LCD panel) mounted on a portable computer or the like, a drive circuit having a shift register structure which operates by a clock having a constant cycle is used. This driving circuit includes a horizontal driver that horizontally scans the display pixels of the LCD panel and a vertical driver that vertically scans the display pixels. The display pixel scanned by the vertical driver for each row is equivalent to one row provided from the horizontal driver. Is configured to display the display data of the.

【0003】図6は、LCDパネル及びその駆動回路の
構成を示すブロック図で、図7は、その動作を説明する
タイミング図である。LCDパネル1は、m本の走査電
極とn本の信号電極とが互い直交し、且つ、液晶を挟ん
で対向するように配列されており、これらの電極によっ
てm行×n列の表示画素が定義されている。Xドライバ
2は、n本の信号電極に対応するnビットのシフトレジ
スタからなり、連続して入力される表示データを一定周
期の駆動クロックに従って1行単位で取り込み、取り込
んだ表示データを同じタイミングで各信号電極に供給す
る。Yドライバ3は、m本の走査電極に対応するmビッ
トのシフトレジスタからなり、1クロック分のパルス幅
を有するスタートパルスを駆動クロックに従って順にシ
フトすることで、走査電極を1本ずつ順次オンさせる。
ドライバ制御回路4は、基準クロックに従って動作する
カウンタからなり、基準クロックを所定の周期に分周し
て各ドライバ2、3の駆動クロック及びYドライバ3の
スタートパルスを発生する。例えば、基準クロックをそ
のままの周期でXドライバ2の駆動クロックとして出力
し、このクロックを1/nに分周してYドライバ3の駆
動クロックとして出力する。また、Yドライバ3の駆動
クロックをさらに1/mに分周することでスタートパル
スを作成し、Yドライバ3へ出力する。従って、Xドラ
イバ2にnクロックの駆動クロックが与えられる毎にY
ドライバ3には1クロックの駆動クロックが与えられ、
且つ、Yドライバ3にmクロックの駆動クロックが与え
られる毎に次のスタートパルスが入力されることにな
る。
FIG. 6 is a block diagram showing the configuration of an LCD panel and its drive circuit, and FIG. 7 is a timing diagram for explaining its operation. The LCD panel 1 is arranged such that m scanning electrodes and n signal electrodes are orthogonal to each other and face each other with a liquid crystal interposed therebetween, and these electrodes form display pixels of m rows × n columns. It is defined. The X driver 2 is composed of an n-bit shift register corresponding to n signal electrodes, takes in display data that is continuously input in units of one row in accordance with a drive clock having a constant cycle, and takes in the displayed data at the same timing. Supply to each signal electrode. The Y driver 3 is composed of an m-bit shift register corresponding to m scan electrodes, and sequentially shifts the scan electrodes one by one by sequentially shifting a start pulse having a pulse width of one clock in accordance with the drive clock. .
The driver control circuit 4 is composed of a counter that operates according to a reference clock, and divides the reference clock into a predetermined cycle to generate a drive clock for the drivers 2 and 3 and a start pulse for the Y driver 3. For example, the reference clock is output as the drive clock of the X driver 2 in the same cycle, and this clock is divided into 1 / n and output as the drive clock of the Y driver 3. Further, the drive clock of the Y driver 3 is further divided into 1 / m to generate a start pulse and output to the Y driver 3. Therefore, each time the X driver 2 receives a drive clock of n clocks, Y
The drive clock of 1 clock is given to the driver 3,
In addition, the next start pulse is input every time the Y driver 3 is supplied with m driving clocks.

【0004】LCDパネル1に対応する表示データは、
例えば、白/黒の情報が1/0で表されており、基準ク
ロックの1クロック期間に1画素の情報が対応付けられ
ている。そして、連続するnビットのデータによって1
行分の情報が表され、この情報のm行分によって1画面
の情報が表される。この表示データは、nビット単位
(1行単位)で第1行目から第m行目まで順にXドライ
バ2に入力され、それぞれYドライバ3によって第1行
目から第m行目まで順次走査されるLCDパネル1の表
示画素に表示される。即ち、Xドライバ2にnビットの
表示データが繰り返し取り込まれると共に、取り込まれ
た表示データの表示が完了する毎にYドライバ3の駆動
する走査電極が1行ずつ進められるため、LCDパネル
1の第1行目から第m行目まで連続的に表示データに応
じた情報が表示される。なお、この表示データについて
は、1画面単位で連続するものであり、1画面の表示が
完了した後には、次の画面の第1行目の表示データがX
ドライバ2に入力される。
The display data corresponding to the LCD panel 1 is
For example, white / black information is represented by 1/0, and one pixel information is associated with one clock period of the reference clock. Then, 1 is set by consecutive n-bit data.
Information for one line is represented, and information for one screen is represented by m lines of this information. The display data is sequentially input to the X driver 2 from the first row to the m-th row in n-bit units (one-row unit), and sequentially scanned by the Y driver 3 from the first row to the m-th row. Are displayed on the display pixels of the LCD panel 1. That is, since the n-bit display data is repeatedly captured by the X driver 2 and the scanning electrodes driven by the Y driver 3 are advanced by one row each time the display of the captured display data is completed, the first row of the LCD panel 1 is driven. Information corresponding to the display data is continuously displayed from the first line to the m-th line. Note that this display data is continuous on a screen-by-screen basis, and after the display of one screen is completed, the display data on the first line of the next screen is X.
It is input to the driver 2.

【0005】ところで、LCDパネル1においては、直
流電界による液晶の劣化を防止するため、通常は、走査
電極及び信号電極に交流電圧を印加するようにしてい
る。即ち、走査電極と信号電極との間に交流電界を発生
させ、液晶に印加される電界が絶えず反転を繰り返すよ
うにしてイオン流の発生を防止することで、液晶が変質
するのを防止している。このような交流電圧による駆動
が行われる場合、電源電圧の変動等によって駆動回路が
正常に動作しなくなり、LCDパネル1に直流電圧が印
加されて液晶を劣化させるおそれがあるため、電源電圧
の異常を検出して各ドライバ2、3の動作を停止する保
護回路が設けられる。特に、内蔵のバッテリーを電力源
とする携帯用コンピュータでは、電源電圧の低下が生じ
やすいため、保護回路は不可欠である。この保護回路
は、例えば、電源電圧を一定の基準電圧と比較する比較
回路により構成され、その比較回路の出力が反転したと
きに各ドライバ2、3の動作を停止させてLCDパネル
1への電圧の供給を遮断するようにしている。
Incidentally, in the LCD panel 1, in order to prevent deterioration of the liquid crystal due to a DC electric field, an AC voltage is usually applied to the scanning electrodes and the signal electrodes. That is, an alternating electric field is generated between the scanning electrode and the signal electrode, and the electric field applied to the liquid crystal is constantly inverted to prevent the generation of an ion current, thereby preventing the liquid crystal from being deteriorated. There is. When driving is performed with such an AC voltage, the drive circuit may not operate normally due to fluctuations in the power supply voltage, and a DC voltage may be applied to the LCD panel 1 to deteriorate the liquid crystal. A protection circuit is provided for detecting the above and stopping the operation of each driver 2, 3. In particular, in a portable computer using a built-in battery as a power source, the power supply voltage is likely to drop, so a protection circuit is indispensable. This protection circuit is composed of, for example, a comparison circuit that compares the power supply voltage with a constant reference voltage. When the output of the comparison circuit is inverted, the operation of each driver 2, 3 is stopped and the voltage to the LCD panel 1 is reduced. I am trying to cut off the supply of.

【0006】[0006]

【発明が解決しようとする課題】上述の如き保護回路に
おいては、電源電圧の異常を検出したときにドライバ制
御回路4の動作とは関係なく各ドライバ2、3を停止さ
せているため、保護回路が作動した後にドライバ制御回
路4が初期状態とならず、駆動回路を再び起動させる際
には初期設定動作が必要となる。例えば、基準クロック
を1/nに分周してYドライバ3の駆動クロックを作成
するカウンタ、その駆動クロックをさらに1/mに分周
してスタートパルスを作成するカウンタをリセットしな
ければ再度起動させることができない。
In the protection circuit as described above, when the abnormality of the power supply voltage is detected, the drivers 2 and 3 are stopped regardless of the operation of the driver control circuit 4. The driver control circuit 4 does not enter the initial state after activating, and an initial setting operation is required when the drive circuit is activated again. For example, a counter that divides the reference clock by 1 / n to create a drive clock for the Y driver 3 and a counter that further divides the drive clock by 1 / m and creates a start pulse are restarted unless reset. I can't let you do it.

【0007】しかしながら、ドライバ制御回路4にリセ
ット機能を付加するには、カウンタと併せて電圧比較回
路を設ける必要が生じるため、ドライバ制御回路4を構
成する際に部品点数が増大し、さらには、各ドライバ
2、3とドライバ制御回路4との間を接続する配線の複
雑化を招くことになる。通常、LCDパネル1のドライ
バ2、3及びドライバ制御回路4については、LCDパ
ネル1と共にモジュールとして一体構成されることか
ら、構成部品が多くなったり配線が複雑化すれば、モジ
ュールのコストは高くなる。
However, in order to add the reset function to the driver control circuit 4, it is necessary to provide a voltage comparison circuit together with the counter, which increases the number of parts when configuring the driver control circuit 4, and further, The wiring for connecting the drivers 2 and 3 and the driver control circuit 4 is complicated. Normally, the drivers 2 and 3 of the LCD panel 1 and the driver control circuit 4 are integrally configured as a module together with the LCD panel 1, so that if the number of components increases or the wiring becomes complicated, the cost of the module increases. .

【0008】そこで本発明は、カウンタ自体にリセット
機能を付加することにより、構成部品の増加や配線の複
雑化を最小限にすることを目的とする。
Therefore, an object of the present invention is to add a reset function to the counter itself to minimize the increase in the number of components and the complication of wiring.

【0009】[0009]

【課題を解決するための手段】本発明は、上述の課題を
解決するために成されたもので、その特徴とするところ
は、与えられるクロックパルスの立ち上がりあるいは立
ち下がりのタイミングに応答し、一定の周期でカウント
動作を繰り返すカウント手段と、取り込んだ電圧を所定
の基準電圧と比較し、その比較結果に従って上記カウン
ト手段をリセットする比較手段と、を備えたことにあ
る。
The present invention has been made to solve the above-mentioned problems, and is characterized in that it responds to the rising or falling timing of a given clock pulse and is constant. The counting means repeats the counting operation in a cycle of, and the comparing means which compares the taken-in voltage with a predetermined reference voltage and resets the counting means according to the comparison result.

【0010】[0010]

【作用】本発明によれば、カウント手段と共に比較手段
を備えたことにより、電源電圧が低下して比較手段の出
力が反転した際には、カウント手段が初期設定されると
同時に、そのリセット信号が出力される。そして、その
リセット信号を、カウント手段のカウント出力を受けて
動作する回路の制御信号とすれば、回路動作をカウント
手段の動作に一致させることができる。
According to the present invention, by providing the comparing means together with the counting means, when the power supply voltage is lowered and the output of the comparing means is inverted, the counting means is initialized at the same time as its reset signal. Is output. If the reset signal is used as a control signal for a circuit which operates by receiving the count output of the counting means, the circuit operation can be matched with the operation of the counting means.

【0011】[0011]

【実施例】図1は、本発明のカウンタ回路のブロック図
である。カウンタ11は、クロック入力端子12から入
力されるクロックによってカウント動作し、所定数のク
ロックをカウントしたときにキャリー信号を発生する。
このキャリー信号は、出力端子13からスタートパルス
として出力されると同時に、プリセットデータ入力端子
14に与えられるプリセットデータのカウンタ11への
取り込みを制御するロード信号として用いられる。これ
により、カウンタ11は、プリセットデータを初期値と
してカウント動作を開始し、カウント値がオーバフロー
したときにキャリー信号を出力して再びプリセットデー
タを取り込むように構成される。従って、クロック入力
端子に与えられるクロックをカウンタ11がカウント動
作する数に対応した割合で分周されたスタートパルスを
得ることができる。
1 is a block diagram of a counter circuit of the present invention. The counter 11 performs a counting operation with a clock input from the clock input terminal 12, and generates a carry signal when counting a predetermined number of clocks.
The carry signal is output as a start pulse from the output terminal 13 and at the same time used as a load signal for controlling the loading of the preset data supplied to the preset data input terminal 14 into the counter 11. Thereby, the counter 11 is configured to start the counting operation with the preset data as the initial value, output the carry signal when the count value overflows, and fetch the preset data again. Therefore, it is possible to obtain a start pulse in which the clock applied to the clock input terminal is divided at a rate corresponding to the number of counting operations of the counter 11.

【0012】コンパレータ15は、2つの入力端子1
6、17に与えられるモニタ電圧とリファレンス電圧と
を取り込み、その比較結果を出力端子18からリセット
パルスとして出力する。また、このリセットパルスは、
カウンタ11のリセット信号として用いられ、コンパレ
ータ15の比較結果が反転したときにカウンタ11がリ
セットされる。ここで、カウンタ11から出力されるス
タートパルスをこのリセットパルスとの論理和として取
り出すようにすれば、カウンタ11がリセットされるタ
イミングにスタートパルスの出力を禁止することが可能
である。
The comparator 15 has two input terminals 1
The monitor voltage and the reference voltage given to 6 and 17 are taken in, and the comparison result is output from the output terminal 18 as a reset pulse. Also, this reset pulse
It is used as a reset signal for the counter 11, and the counter 11 is reset when the comparison result of the comparator 15 is inverted. Here, if the start pulse output from the counter 11 is taken out as the logical sum of the reset pulse and the reset pulse, the output of the start pulse can be prohibited at the timing when the counter 11 is reset.

【0013】入力端子16に与えられるモニタ電圧は、
例えば、図2に示すように、電源電圧を一対の抵抗2
1、22によって分圧して取り出される。ここで、一対
の抵抗21、22の接続点には、コンデンサ23が接続
され、スパイクノイズ等がコンパレータ15に取り込ま
れるのを防止するようにしている。また、入力端子17
に与えられるリファレンス電圧は、電源電圧の変動の影
響を受けることなく一定のレベルを維持するもので、同
じく、図2に示すように、電源接地間に直列接続される
抵抗24及びダイオード25の接続点から取り出され
る。従って、このリファレンス電圧は、接地電圧より常
にダイオード25の閾値電圧分だけ高いレベルに維持さ
れることになる。そして、このリファレンス電圧は、通
常の状態ではモニタ電圧より低く設定されており、電源
電圧が所定のレベルまで下がり、モニタ電圧がリファレ
ンス電圧より低くなったときにコンパレータ15の出力
が反転するようにしている。
The monitor voltage applied to the input terminal 16 is
For example, as shown in FIG.
It is taken out after being divided by 1, 22. Here, the capacitor 23 is connected to the connection point of the pair of resistors 21 and 22 to prevent spike noise and the like from being taken into the comparator 15. Also, the input terminal 17
The reference voltage applied to the power supply maintains a constant level without being affected by the fluctuation of the power supply voltage. Similarly, as shown in FIG. 2, the connection of the resistor 24 and the diode 25 connected in series between the power supply grounds. Taken out from a point. Therefore, this reference voltage is always maintained at a level higher than the ground voltage by the threshold voltage of the diode 25. The reference voltage is set lower than the monitor voltage in a normal state, and the output of the comparator 15 is inverted when the power supply voltage drops to a predetermined level and the monitor voltage becomes lower than the reference voltage. There is.

【0014】以上のカウンタ11及びコンパレータ15
については、同一の半導体基板10上に集積化され、単
一の集積回路素子として構成される。このとき、モニタ
電圧及びリファレンス電圧を取り出すための抵抗21、
22、24及びダイオード26については、基板10に
対して外付けしてもよいが、基板10上に集積化して形
成することも考えられる。
The counter 11 and the comparator 15 described above
Are integrated on the same semiconductor substrate 10 and configured as a single integrated circuit element. At this time, the resistor 21 for extracting the monitor voltage and the reference voltage,
The elements 22 and 24 and the diode 26 may be externally attached to the substrate 10, but may be integrated and formed on the substrate 10.

【0015】また、マスタスライス方式の集積回路素子
の場合には、カウンタ11及びコンパレータ15を1つ
の機能セルとしてまとめ、この機能セルに各種回路を付
加して1チップ構成の制御回路を構成する。このような
マスタスライス方式の集積回路素子は、機能セルの組み
合わせによって各種のシステムに対応できるため、広い
範囲の対応が望める。
In the case of the master slice type integrated circuit device, the counter 11 and the comparator 15 are integrated into one functional cell, and various circuits are added to the functional cell to form a control circuit having a one-chip configuration. Since such a master slice type integrated circuit element can be applied to various systems by combining functional cells, it can be applied in a wide range.

【0016】図3は、カウンタ11と同一基板上に形成
できるようにするため、MOSトランジスタ構成とした
コンパレータ15の回路図である。2つのPチャンネル
型MOSトランジスタ31、32が電源に接続され、こ
れらのMOSトランジスタ31、32のゲートとドレイ
ンとが互いに接続される。MOSトランジスタ31、3
2のドレインにそれぞれNチャンネル型MOSトランジ
スタ33、34が接続され、これらのMOSトランジス
タ33、34のゲートにそれぞれリファレンス電圧及び
モニタ電圧が印加される。そして、MOSトランジスタ
33、34のソースが、回路動作のオン/オフを制御す
るためのNチャンネル型MOSトランジスタ35を介し
て接地される。これら2つのPチャンネル型MOSトラ
ンジスタ31、32と3つのNチャンネル型MOSトラ
ンジスタ33、34、35によって第1の判定回路30
が構成され、MOSトランジスタ31、32のドレイン
側から2つの出力a1、a2が得られる。
FIG. 3 is a circuit diagram of a comparator 15 having a MOS transistor configuration so that it can be formed on the same substrate as the counter 11. The two P-channel type MOS transistors 31 and 32 are connected to a power source, and the gates and drains of these MOS transistors 31 and 32 are connected to each other. MOS transistors 31, 3
N-channel type MOS transistors 33 and 34 are connected to the drains of the two, respectively, and a reference voltage and a monitor voltage are applied to the gates of these MOS transistors 33 and 34, respectively. The sources of the MOS transistors 33 and 34 are grounded via the N-channel MOS transistor 35 for controlling ON / OFF of circuit operation. The first determination circuit 30 is formed by the two P-channel type MOS transistors 31 and 32 and the three N-channel type MOS transistors 33, 34 and 35.
And two outputs a1 and a2 are obtained from the drain sides of the MOS transistors 31 and 32.

【0017】2つのMOSトランジスタ41、42が動
作制御のためのPチャンネル型MOSトランジスタ43
を介して電源に接続され、これらのMOSトランジスタ
41、42のゲートに第1の判定回路30の出力a1、
a2が印加される。MOSトランジスタ41、42のド
レインに、ソースが接地されたNチャンネル型MOSト
ランジスタ44、45がそれぞれ接続され、これらのゲ
ートが共にMOSトランジスタ44のドレイン側に接続
される。これら3つのPチャンネル型MOSトランジス
タ41、42、43及び2つのNチャンネル型MOSト
ランジスタ44、45によって第2の判定回路40が構
成され、MOSトランジスタ42のドレイン側から出力
bが得られる。そして、一対のMOSトランジスタ5
1、52が電源接地間に直列に接続され、このMOSト
ランジスタ51、52のゲートに第2の判定回路40の
出力bが印加される。この一対のMOSトランジスタ5
1、52により出力用のバッファ回路50が構成され、
MOSトランジスタ51、52の接続点より比較出力c
が得られる。
The two MOS transistors 41 and 42 are P-channel type MOS transistors 43 for controlling operation.
Connected to the power source through the gates of the MOS transistors 41 and 42, and the output a1 of the first determination circuit 30
a2 is applied. The drains of the MOS transistors 41 and 42 are respectively connected to N-channel type MOS transistors 44 and 45 whose sources are grounded, and their gates are both connected to the drain side of the MOS transistor 44. These three P-channel type MOS transistors 41, 42 and 43 and the two N-channel type MOS transistors 44 and 45 constitute the second determination circuit 40, and the output b is obtained from the drain side of the MOS transistor 42. And a pair of MOS transistors 5
1, 52 are connected in series between the power supply grounds, and the output b of the second determination circuit 40 is applied to the gates of the MOS transistors 51, 52. This pair of MOS transistors 5
1, 52 constitute an output buffer circuit 50,
Comparative output c from the connection point of the MOS transistors 51 and 52
Is obtained.

【0018】続いて、このコンパレータの比較動作につ
いて説明する。まず、モニタ電圧がリファレンス電圧よ
り高いときには、MOSトランジスタ34の抵抗値がM
OSトランジスタ33の抵抗値より低くなり、同時に、
MOSトランジスタ32の抵抗値がMOSトランジスタ
31の抵抗値より高くなる。このため、第1の出力a1
よりも第2の出力a2が低電圧となり、第2の出力a2
を受けるMOSトランジスタ42の抵抗値が第1の出力
a1を受けるMOSトランジスタ41の抵抗値より低く
なる。電流ミラー回路を成す第2の判定回路40は、M
OSトランジスタ42、45を流れる電流が、MOSト
ランジスタ41、44を流れる電流に比例するように働
くため、MOSトランジスタ42の抵抗値がMOSトラ
ンジスタ41の抵抗値より低くなると、MOSトランジ
スタのドレイン側の電位、即ち、出力bが電源電圧に近
付く。そして、この出力bを受けるバッファ回路50で
はMOSトランジスタ51がオフし、MOSトランジス
タ52がオンするため、出力cは接地電位となる。
Next, the comparison operation of this comparator will be described. First, when the monitor voltage is higher than the reference voltage, the resistance value of the MOS transistor 34 is M
It becomes lower than the resistance value of the OS transistor 33, and at the same time,
The resistance value of the MOS transistor 32 becomes higher than the resistance value of the MOS transistor 31. Therefore, the first output a1
The second output a2 becomes a lower voltage than the second output a2
The resistance value of the MOS transistor 42 receiving the first output a1 becomes lower than the resistance value of the MOS transistor 41 receiving the first output a1. The second determination circuit 40, which is a current mirror circuit, is M
Since the currents flowing through the OS transistors 42 and 45 act in proportion to the currents flowing through the MOS transistors 41 and 44, when the resistance value of the MOS transistor 42 becomes lower than the resistance value of the MOS transistor 41, the potential on the drain side of the MOS transistor is increased. That is, the output b approaches the power supply voltage. Then, in the buffer circuit 50 receiving this output b, the MOS transistor 51 is turned off and the MOS transistor 52 is turned on, so that the output c becomes the ground potential.

【0019】一方、モニタ電圧が低下してリファレンス
電圧より低くなると、逆に、MOSトランジスタ34の
抵抗値がMOSトランジスタ33の抵抗値より高くな
り、MOSトランジスタ32の抵抗値がMOSトランジ
スタ31の抵抗値より低くなる。この結果、第1の出力
a1よりも第2の出力a2が高電圧となり、MOSトラ
ンジスタ42の抵抗値がMOSトランジスタ41の抵抗
値より高くなるため、出力bは接地電圧に近付く。そし
て、この出力bを受けるMOSトランジスタ51がオン
し、MOSトランジスタ52がオフして出力cが電源電
位となる。
On the other hand, when the monitor voltage drops and becomes lower than the reference voltage, conversely, the resistance value of the MOS transistor 34 becomes higher than the resistance value of the MOS transistor 33, and the resistance value of the MOS transistor 32 becomes the resistance value of the MOS transistor 31. Will be lower. As a result, the second output a2 has a higher voltage than the first output a1, and the resistance value of the MOS transistor 42 becomes higher than the resistance value of the MOS transistor 41, so that the output b approaches the ground voltage. Then, the MOS transistor 51 receiving this output b is turned on, the MOS transistor 52 is turned off, and the output c becomes the power supply potential.

【0020】このようなMOSトランジスタ構成のコン
パレータは、全てがMOSトランジスタ回路にて構成さ
れるカウンタと同一の半導体基板上に、MOS型素子と
バイポーラ型素子とを混載させるといった特殊な製造工
程を経ることなく、容易に集積化することができる。図
4は、他の実施例を示すブロック図である。この図にお
いて、カウンタ11及びコンパレータ15は、図1と同
一のものであり、コンパレータ15の比較出力に従って
カウンタ11をリセットするように構成している。
Such a comparator having a MOS transistor structure undergoes a special manufacturing process in which a MOS type element and a bipolar type element are mixedly mounted on the same semiconductor substrate as the counter which is entirely composed of MOS transistor circuits. Can be easily integrated. FIG. 4 is a block diagram showing another embodiment. In this figure, the counter 11 and the comparator 15 are the same as those in FIG. 1, and are configured to reset the counter 11 according to the comparison output of the comparator 15.

【0021】カウンタ11は、所定の値に初期設定され
た後にクロック入力端子12から入力されるクロックに
従ってカウント動作し、カウント出力をデコーダ19に
入力する。デコーダ19は、カウンタ11のカウント出
力をデコードし、カウンと出力が予め設定されたデコー
ド値に一致するタイミングでタイミングパルスを発生す
る。このデコーダ19のデコード値は、プリセットデー
タ入力端子20から入力されて予めデコーダ19に設定
されるため、その後の動作時にプリセットデータを外部
から供給する必要はない。このようにデコーダ19を設
けた場合には、図1の場合と比較して、周辺回路を簡略
化することができる。また、デコーダ19を用いること
なくカウンタ11のカウント出力をそのまま取り出して
利用することも考えられる。
The counter 11 counts according to the clock input from the clock input terminal 12 after being initialized to a predetermined value, and inputs the count output to the decoder 19. The decoder 19 decodes the count output of the counter 11 and generates a timing pulse at the timing when the count and the output match the preset decode value. Since the decode value of the decoder 19 is input from the preset data input terminal 20 and set in the decoder 19 in advance, it is not necessary to externally supply the preset data during the subsequent operation. When the decoder 19 is provided in this way, the peripheral circuit can be simplified as compared with the case of FIG. It is also possible to take out the count output of the counter 11 as it is and use it without using the decoder 19.

【0022】図5は、LCDパネルの駆動回路に本発明
のカウンタ回路を用いた場合の構成を示すブロックであ
る。基準クロックは、カウンタ5をカウント動作させる
と共に、駆動クロックとしてXドライバ2に供給され
る。カウンタ5は、プリセットデータが設定された後に
基準クロックをカウントし、所定数のカウントを完了し
たときにキャリー信号を発生することで基準クロックを
1/nに分周する。ここで得られる分周出力、即ち、基
準クロックが1/nに分周されたクロックは、カウンタ
11をカウント動作させると共に、駆動クロックとして
Yドライバ3に供給される。カウンタ11は、分周され
たクロックを受け、さらに1/mに分周してスタートパ
ルスを作成し、Yドライバ3に供給する。これら2つの
カウンタ5、11による分周動作は、図1に示すカウン
タ11の分周動作と同一である。カウンタ11と共に基
板10上に集積化して形成されるコンパレータ15は、
電源電圧を分圧して得られるモニタ電圧及び一定レベル
に維持されるリファレンス電圧を受け、モニタ電圧がリ
ファレンス電圧より低下したときに出力を反転してカウ
ンタ11をリセットする。これと同時に、そのリセット
パルスを各ドライバ2、3に与え、各ドライバ2、3か
らLCDの電力供給を停止させる。従って、電源電圧が
低下してコンパレータ15の出力が反転したときには、
各ドライバ2、3からLCDパネル1への電力の供給が
遮断されてLCDパネル1がオフ状態となると共に、カ
ウンタ11がリセットされて初期状態となる。
FIG. 5 is a block diagram showing a configuration in the case where the counter circuit of the present invention is used as the drive circuit of the LCD panel. The reference clock is supplied to the X driver 2 as a drive clock while counting the counter 5. The counter 5 counts the reference clock after preset data is set, and generates a carry signal when a predetermined number of counts are completed, thereby dividing the reference clock into 1 / n. The frequency-divided output obtained here, that is, the clock obtained by frequency-dividing the reference clock by 1 / n, is supplied to the Y driver 3 as a drive clock while counting the counter 11. The counter 11 receives the divided clock, further divides it into 1 / m to create a start pulse, and supplies it to the Y driver 3. The frequency dividing operation by these two counters 5 and 11 is the same as the frequency dividing operation of the counter 11 shown in FIG. The comparator 15 formed integrally with the counter 11 on the substrate 10 is
Upon receiving the monitor voltage obtained by dividing the power supply voltage and the reference voltage maintained at a constant level, the output is inverted and the counter 11 is reset when the monitor voltage becomes lower than the reference voltage. At the same time, the reset pulse is applied to the drivers 2 and 3 to stop the power supply of the LCD from the drivers 2 and 3. Therefore, when the power supply voltage drops and the output of the comparator 15 is inverted,
The power supply from the drivers 2 and 3 to the LCD panel 1 is cut off, the LCD panel 1 is turned off, and the counter 11 is reset to the initial state.

【0023】このように、コンパレータ15をカウンタ
11とワンチップ化してLCDパネル1の駆動回路を構
成すれば、保護回路(コンパレータ15)を付加したこ
とによる部品点数の増加はなく、配線の複雑化も防止で
きる。また、以上のようなLCDパネル1の駆動回路の
他にも、本発明のカウンタ回路は、カウント機能とリセ
ット機能とが同時に必要となるようなシステムに採用可
能である。例えば、マイコンのCPU(Central Process
ing Unit)のリセット動作に合わせて所定の指示を発生
するような場合に用いる。
In this way, if the comparator 15 and the counter 11 are integrated into one chip to form the drive circuit of the LCD panel 1, the number of parts does not increase due to the addition of the protection circuit (comparator 15), and the wiring becomes complicated. Can also be prevented. In addition to the drive circuit of the LCD panel 1 as described above, the counter circuit of the present invention can be adopted in a system in which a count function and a reset function are required at the same time. For example, the CPU (Central Process) of a microcomputer
ing unit), which is used when a predetermined instruction is generated in accordance with the reset operation of the

【0024】[0024]

【発明の効果】本発明によれば、カウンタ回路にリセッ
ト機能を付加したことにより、カウンタの周辺回路の簡
略化が図れ、このカウンタ回路を用いる装置のコストを
削減することができる。また、マスタスライス方式の半
導体装置において、コンパレータを含むカウンタ回路を
1つの基準セルとして構成することで、種々のシステム
への対応が容易にできる。
According to the present invention, by adding the reset function to the counter circuit, the peripheral circuit of the counter can be simplified and the cost of the device using this counter circuit can be reduced. Further, in the master slice type semiconductor device, by configuring the counter circuit including the comparator as one reference cell, it is possible to easily cope with various systems.

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

【図1】本発明のカウンタ回路の一実施例を示すブロッ
ク図である。
FIG. 1 is a block diagram showing an embodiment of a counter circuit of the present invention.

【図2】モニタ電圧及びリファレンス電圧を発生する回
路の構成図である。
FIG. 2 is a configuration diagram of a circuit that generates a monitor voltage and a reference voltage.

【図3】MOSトランジスタ構成としたコンパレータの
回路図である。
FIG. 3 is a circuit diagram of a comparator having a MOS transistor configuration.

【図4】本発明の他の実施例を示すブロック図である。FIG. 4 is a block diagram showing another embodiment of the present invention.

【図5】本発明のカウンタ回路をLCDパネルの駆動回
路に用いたときのブロック図である。
FIG. 5 is a block diagram when the counter circuit of the present invention is used as a drive circuit for an LCD panel.

【図6】LCDパネルの駆動回路の構成を示すブロック
図である。
FIG. 6 is a block diagram showing a configuration of a drive circuit of an LCD panel.

【図7】LCDパネルの駆動回路の動作を説明するタイ
ミング図である。
FIG. 7 is a timing diagram illustrating the operation of the drive circuit of the LCD panel.

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

1 LCDパネル 2 Xドライバ 3 Yドライバ 4 ドライバ制御回路 10 半導体基板 11 カウンタ 15 コンパレータ 19 デコーダ 30 第1の判定回路 40 第2の判定回路 50 バッファ回路 1 LCD Panel 2 X Driver 3 Y Driver 4 Driver Control Circuit 10 Semiconductor Substrate 11 Counter 15 Comparator 19 Decoder 30 First Judgment Circuit 40 Second Judgment Circuit 50 Buffer Circuit

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 与えられるクロックパルスの立ち上がり
あるいは立ち下がりのタイミングに応答し、一定の周期
でカウント動作を繰り返すカウント手段と、取り込んだ
電圧を所定の基準電圧と比較し、その比較結果に従って
上記カウント手段をリセットする比較手段と、を備えた
ことを特徴とするカウンタ回路。
1. A counting means that repeats a counting operation in a constant cycle in response to a rising or falling timing of a given clock pulse, and the captured voltage is compared with a predetermined reference voltage, and the count is performed according to the comparison result. A counter circuit for resetting the means.
【請求項2】 与えられるクロックパルスの立ち上がり
あるいは立ち下がりのタイミングに応答し、一定の周期
でカウント動作を繰り返すカウント手段と、カウント動
作を繰り返す毎に上記カウント手段にプリセットデータ
を設定する設定手段と、電源電圧を所定の基準電圧と比
較し、電源電圧が基準電圧以下となったときに上記カウ
ント手段をリセットする比較手段と、が共通の半導体基
板上に集積化され、上記カウント手段のカウント結果か
ら一定の周期を有するタイミングパルスを得ると共に、
上記比較手段の比較結果からリセットパルスを得ること
を特徴とするカウンタ回路。
2. A counting unit that repeats a counting operation at a constant cycle in response to a rising or falling timing of a given clock pulse, and a setting unit that sets preset data in the counting unit each time the counting operation is repeated. , A comparing means for comparing the power supply voltage with a predetermined reference voltage and resetting the counting means when the power supply voltage becomes equal to or lower than the reference voltage, integrated on a common semiconductor substrate, and the counting result of the counting means And obtain a timing pulse with a constant period from
A counter circuit, wherein a reset pulse is obtained from a comparison result of the comparison means.
JP6007719A 1994-01-27 1994-01-27 Counter circuit Pending JPH07219480A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP6007719A JPH07219480A (en) 1994-01-27 1994-01-27 Counter circuit
KR1019950001357A KR0160359B1 (en) 1994-01-27 1995-01-26 Counter circuit and voltage comparison circuit used for this

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6007719A JPH07219480A (en) 1994-01-27 1994-01-27 Counter circuit

Publications (1)

Publication Number Publication Date
JPH07219480A true JPH07219480A (en) 1995-08-18

Family

ID=11673543

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6007719A Pending JPH07219480A (en) 1994-01-27 1994-01-27 Counter circuit

Country Status (1)

Country Link
JP (1) JPH07219480A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040050531A (en) * 2002-12-10 2004-06-16 삼성전자주식회사 Output buffer control apparatus of source driver driving the liquid-crystal display
JP2020026961A (en) * 2018-08-09 2020-02-20 多摩川精機株式会社 Excitation signal abnormality detector for angle detector
JP2020026962A (en) * 2018-08-09 2020-02-20 多摩川精機株式会社 Output detector for angle detector

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040050531A (en) * 2002-12-10 2004-06-16 삼성전자주식회사 Output buffer control apparatus of source driver driving the liquid-crystal display
JP2020026961A (en) * 2018-08-09 2020-02-20 多摩川精機株式会社 Excitation signal abnormality detector for angle detector
JP2020026962A (en) * 2018-08-09 2020-02-20 多摩川精機株式会社 Output detector for angle detector

Similar Documents

Publication Publication Date Title
USRE39236E1 (en) Flat panel device and display driver with on/off power controller used to prevent damage to the LCD
USRE40504E1 (en) Display and display driver with on/off power controller used to prevent damage to the display
US7190343B2 (en) Liquid crystal display and driving method thereof
US7825919B2 (en) Source voltage removal detection circuit and display device including the same
US5861861A (en) Microcontroller chip with integrated LCD control module and switched capacitor driver circuit
US11605360B2 (en) Circuit and method for preventing screen flickering, drive circuit for display panel, and display apparatus
US10782808B2 (en) Shift register and touch display apparatus thereof
US10614769B2 (en) GOA circuit and driving method thereof, and touch display apparatus
CN110782858A (en) Display device and power supply control method
KR100304443B1 (en) Apparatus comprising microcontroller with internal clock for liquid crystal display and method of implementing the apparatus
US12013740B2 (en) Touch display device and power supply control method
JPH08254969A (en) Liquid crystal display
US6292182B1 (en) Liquid crystal display module driving circuit
KR100304444B1 (en) Method and apparatus for controlling liquid crystal display by updating data stored in RAM
US20080122830A1 (en) Display device
JPH07219480A (en) Counter circuit
US7295198B2 (en) Voltage booster circuit, power supply circuit, and liquid crystal driver
CN111899683B (en) Display panel and display device
US10545606B2 (en) Scanning circuit for touch screen, touch screen and touch control method
KR0160359B1 (en) Counter circuit and voltage comparison circuit used for this
JP3519870B2 (en) Liquid crystal display
CN115731827B (en) Display drivers and display modules
JPH07221611A (en) Voltage comparator
JP3263540B2 (en) Display device
CN114639349A (en) Display control module and display device