JPH02180425A - Timer circuit - Google Patents

Timer circuit

Info

Publication number
JPH02180425A
JPH02180425A JP63335529A JP33552988A JPH02180425A JP H02180425 A JPH02180425 A JP H02180425A JP 63335529 A JP63335529 A JP 63335529A JP 33552988 A JP33552988 A JP 33552988A JP H02180425 A JPH02180425 A JP H02180425A
Authority
JP
Japan
Prior art keywords
timer
counter
flop
flip
circuit
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.)
Granted
Application number
JP63335529A
Other languages
Japanese (ja)
Other versions
JP2844625B2 (en
Inventor
Makoto Hanawa
良 花輪
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP63335529A priority Critical patent/JP2844625B2/en
Publication of JPH02180425A publication Critical patent/JPH02180425A/en
Application granted granted Critical
Publication of JP2844625B2 publication Critical patent/JP2844625B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Pulse Circuits (AREA)
  • Electronic Switches (AREA)
  • Dram (AREA)

Abstract

PURPOSE:To house the timer circuit in one IC package by the integration technique of a monolithic IC and to miniaturize a substrate and the device by composing the timer circuit only of a semiconductor element without using a passive element such as a resistance, a capacitor, and a crystal resonator. CONSTITUTION:The timer circuit is composed of a counter 1, a flip-flop 2, and a ring oscillator 3. The flip-flop 2 makes a timer output TO into an operating state by a timer set signal SS. Simultaneously with this, the counter 1 starts counting a clock CK from the ring oscillator 3. It goes without saying that this counted number is a number to be set by count data DC. Further, at a point where the counting of the required number of clocks completes, a timer reset signal TR is outputted to the flip-flop 2, and the timer output TO is made into a non-operation state. As the result, a timer operation by timer outputs from a timer set input TS up to the timer reset signal TR can be realized. The timer time T can be given with T=2k.td.n.

Description

【発明の詳細な説明】 (産業上の利用分野〕 本発明は汎用ディジタル回路において、外部からのパル
ス人力により起動し、ある一定レベルの信号を起動時よ
り一定時間の間だけ外部へ出力するタイマ回路に関する
[Detailed Description of the Invention] (Industrial Application Field) The present invention is a general-purpose digital circuit that uses a timer that is activated by an external pulse and outputs a signal at a certain level to the outside for a certain period of time from the time of activation. Regarding circuits.

〔従来の技術〕[Conventional technology]

従来、この種のタイマ回路として、第3図(a)に示す
ように、単安定マルチパイプレーク11に抵抗12とコ
ンデンサ13を接続したものが提案されている。この回
路では、同図(b)のタイムチャートのように、タイマ
セット信号Ssに対して抵抗12の抵抗値Rと、コンデ
ンサ13の容量Cで決まる時定数T=CRの間だけタイ
マ出力T。
Conventionally, as a timer circuit of this type, one in which a resistor 12 and a capacitor 13 are connected to a monostable multipipe lake 11 has been proposed, as shown in FIG. 3(a). In this circuit, as shown in the time chart of FIG. 2(b), the timer output T is generated only during the time constant T=CR determined by the resistance value R of the resistor 12 and the capacitance C of the capacitor 13 with respect to the timer set signal Ss.

を駆動させることができる。can be driven.

また、第4図(a)に示すように、タイマセ・ント信号
S、でタイマ出力T0を駆動状態にするフリップフロッ
プ22に対してタイマリセット信号S□を出力するカウ
ンタ21を設け、水晶振動子24を用いたクロックジェ
ネレータ23で発生されるクロックCKをカウンタデー
タDcに基づいてカウンタ21で計数し、この計数間だ
けフリ・ンプフロップ22を動作させる回路も提案され
ている。この回路では、同図(b)のように、タイマセ
ット信号S、でタイマ出力T0が出力され、カウンタ2
1の計数が完了してタイマリセット信号S+tが出力さ
れたときにタイマ出力T0を停止することができる。
Further, as shown in FIG. 4(a), a counter 21 is provided which outputs a timer reset signal S□ to a flip-flop 22 which drives the timer output T0 with the timer reset signal S, and A circuit has also been proposed in which a clock CK generated by a clock generator 23 using a clock generator 24 is counted by a counter 21 based on counter data Dc, and a flip-flop 22 is operated only during this counting period. In this circuit, as shown in FIG. 2(b), timer output T0 is output with timer set signal S, and counter 2
The timer output T0 can be stopped when the count of 1 is completed and the timer reset signal S+t is output.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来のタイマ回路では、トランジスタ。 In the conventional timer circuit mentioned above, a transistor.

ダイオード等による半導体部と、抵抗、コンデンサ、水
晶振動子による受動素子部に構成が分かれ、半導体部は
ICの集積技術により容易に集積化が可能であるが、受
動素子はこれら半導体部に外付けして実装する場合が多
いため、実装面積が大きくなり、実装密度の向上や装置
の小型化の障害になる。
The structure is divided into a semiconductor part made of diodes, etc., and a passive element part made of resistors, capacitors, and crystal resonators.The semiconductor part can be easily integrated using IC integration technology, but passive elements cannot be attached externally to these semiconductor parts. In many cases, the mounting area is increased, which becomes an obstacle to improving the mounting density and downsizing the device.

このため、ハイブリッドIC化技術により受動素子を半
導体素子と共に1つのICパッケージ内にまとめること
も可能であるが、半導体素子のみにより構成されるモノ
リシックICに比較して製造方法が複雑になるという問
題がある。
For this reason, it is possible to combine passive elements and semiconductor elements into one IC package using hybrid IC technology, but this poses the problem that the manufacturing method is more complicated than that of monolithic ICs that consist only of semiconductor elements. be.

また、水晶振動子をプリント基板上に実装した場合、水
晶振動子及び発振器からの出力信号パターンが他の信号
パターンに雑音として影響を与えるという問題もある。
Furthermore, when a crystal resonator is mounted on a printed circuit board, there is a problem in that output signal patterns from the crystal resonator and oscillator affect other signal patterns as noise.

本発明は実装密度を向上し、かつ装置の小型化を図るこ
とを可能にしたタイマ回路を提供することを目的とする
SUMMARY OF THE INVENTION An object of the present invention is to provide a timer circuit that can improve packaging density and reduce the size of the device.

〔課題を解決するための手段〕[Means to solve the problem]

本発明のタイマ回路は、奇数個のインバータを存してク
ロッ々を発振するリングオシレータと、このリングオシ
レータからのクロックを外部からのタイマセット信号に
よりカウント開始し、所定数カウントした後にタイマリ
セット信号を出力するカウンタと、前記タイマセット信
号によりタイマ出力をセットし、前記カウンタからのタ
イマリセット信号によりタイマ出力をリセットするフリ
ップフロップとを備えている。
The timer circuit of the present invention includes a ring oscillator that includes an odd number of inverters and oscillates clocks, and a clock from this ring oscillator that starts counting by an external timer set signal, and after counting a predetermined number of clocks, a timer reset signal is sent. and a flip-flop that sets the timer output by the timer set signal and resets the timer output by the timer reset signal from the counter.

〔作用〕[Effect]

上述した構成では、リングオシレータ、カウンタ、及び
フリップフロップを全てモノリシックICで構成でき、
外付は部品を不要にし、構成の単純化を実現する。
In the above configuration, the ring oscillator, counter, and flip-flop can all be configured with a monolithic IC,
External attachment eliminates the need for parts and simplifies the configuration.

〔実施例〕〔Example〕

次に、本発明を図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図(a)は本発明の第1実施例の回路図である。こ
のタイマ回路は、カウンタ1.フリップフロップ2.リ
ングオシレータ3で構成されている。
FIG. 1(a) is a circuit diagram of a first embodiment of the present invention. This timer circuit has counters 1. flip flop 2. It is composed of ring oscillator 3.

カウンタ1は、タイマセット信号s3により起動し、リ
ングオシレータ3から供給されるクロックCKを設定さ
れたカウンタデータDCに基づいて1回カウントし、カ
ウントしたときにフリップフロップ2に対してタイマリ
セット信号SRを出力する。
The counter 1 is activated by a timer set signal s3, counts the clock CK supplied from the ring oscillator 3 once based on the set counter data DC, and when the counter 1 counts, sends a timer reset signal SR to the flip-flop 2. Output.

カウンタデータDcはmビットで構成され、カウントす
る回数(n)を設定させる。この場合、カウンタデータ
D、は固定された値として回路を構成しておく方法、外
部から設定する方法のいずれも可能である。
Counter data Dc is composed of m bits and allows the number of times (n) to be counted to be set. In this case, the counter data D can be set either by configuring the circuit as a fixed value or by setting it externally.

フリップフロップ2はタイマセット信号S、が入力され
たときにタイマ出力T0を動作状態とし、カウンタ2か
らのタイマリセット信号SRによりタイマ出力T0を非
動作状態とする。
The flip-flop 2 turns the timer output T0 into an active state when the timer set signal S is input, and turns the timer output T0 into an inactive state by the timer reset signal SR from the counter 2.

リングオシレータ3はに個(kは奇数)のインバータ3
.〜3kから構成されてクロックCKを出力し、前記カ
ウンタ1に出力する。ここで、各インバータ3.〜3.
の平均伝播遅延時間をtdとすると、リングオシレータ
3の発振周波数fは、f=1/2に−Cd で与えられる。
The ring oscillator 3 has two (k is an odd number) inverters 3
.. 3k and outputs a clock CK, which is output to the counter 1. Here, each inverter 3. ~3.
When the average propagation delay time of is td, the oscillation frequency f of the ring oscillator 3 is given by f=1/2 -Cd.

したがって、この構成によれば、第1図(b)にタイム
チャートを示すように、タイマセット信号Ssによりフ
リップフロップ2はタイマ出力T0を動作状態とする。
Therefore, according to this configuration, as shown in the time chart of FIG. 1(b), the flip-flop 2 sets the timer output T0 to the operating state by the timer set signal Ss.

これと同時にカウンタ1はリングオシレータ3からのク
ロックCKのカウントを開始する。このカウント数はカ
ウントデータD。
At the same time, the counter 1 starts counting the clock CK from the ring oscillator 3. This count number is count data D.

によって設定される数であることは言うまでもない。そ
して、所要数のカウントが完了した時点でタイマリセッ
ト信号TRをフリップフロップ2に出力し、タイマ出力
T。を非動作状態とする。
Needless to say, this is the number set by . Then, when the required number of counts is completed, a timer reset signal TR is output to the flip-flop 2, and the timer output T is output. is inactive.

この結果、タイマセット人力T、からタイマリセット信
号Ti0間のタイマ出力によるタイマ動作が実現される
。このタイマ時間Tは、T=2に−td−n で与えられる。
As a result, a timer operation based on the timer output between the timer set manually and the timer reset signal Ti0 is realized. This timer time T is given by -td-n where T=2.

なお、この回路では、カウンタ1がクロックCKをβ個
カウント時(1<z<n)したときに、再度タイマセッ
ト信号S、が入力された場合には、リトリガが可能であ
る。
In this circuit, retriggering is possible if the timer set signal S is input again when the counter 1 counts β clocks CK (1<z<n).

第2図(a)は本発明の第2実施例の回路図である。こ
こでは、第1図(a)の回路にカウンタ4を追加してい
る。このカウンタ1はクロックCKを利用してタイマの
リファレンス信号R□、の時間を計測し、この時間に対
応するカウンタデータDcを前記カウンタ1に出力する
ように構成している。
FIG. 2(a) is a circuit diagram of a second embodiment of the present invention. Here, a counter 4 is added to the circuit shown in FIG. 1(a). This counter 1 is configured to measure the time of the timer reference signal R□ using the clock CK, and output counter data Dc corresponding to this time to the counter 1.

また、リファレンス信号RREFをインバータ6を通し
てアンド回路5に加え、このアンド回路5によってタイ
マセット信号S、の入力を制御するように構成している
。ただし、リファレンス信号S IIEFはクロックの
周期より十分に長い必要がある。
Further, the reference signal RREF is applied to the AND circuit 5 through the inverter 6, and the AND circuit 5 is configured to control the input of the timer set signal S. However, the reference signal SIIEF needs to be sufficiently longer than the clock cycle.

この構成によれば、タイマセット信号S、はりファレン
ス信号RREFが入力されていないときにのみカウンタ
1.フリップフロップ2に人力される。そして、装置起
動時、或いはタイマ値を変更する場合に、カウンタ4に
リファレンス信号S■。
According to this configuration, only when the timer set signal S and the reference signal RREF are not input, the counter 1. Human power is applied to flip-flop 2. Then, when starting up the device or changing the timer value, a reference signal S■ is sent to the counter 4.

を入力する。カウンタ4はリファレンス信号RREFの
入力時間をクロックCKの計数を行うことにより測定し
、これをカウンタデータDcとしてカウンタ1に与えて
いる。
Enter. The counter 4 measures the input time of the reference signal RREF by counting the clock CK, and provides this to the counter 1 as counter data Dc.

したがって、タイマ回路の出力時間はリファレンス入力
時間と同一クロック数分得られ、リングオシレータ3の
発振周波数に依存しないので、インバータ3.〜3に各
々の伝播遅延時間にばらつきがあっても、第1実施例に
比較して正確なタイマ出力T0が得られる。
Therefore, the output time of the timer circuit is obtained by the same number of clocks as the reference input time, and does not depend on the oscillation frequency of the ring oscillator 3, so the inverter 3. Even if there are variations in the respective propagation delay times between 3 and 3, a more accurate timer output T0 can be obtained than in the first embodiment.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、従来必要とされた抵抗、
コンデンサ、水晶振動子等の受動素子を用いずに半導体
素子のみでタイマ回路が構成できるので、モノリシック
ICの集積化技術により1つのICパッケージに収容可
能となる。これは、外部に受動素子を外付けした場合に
比べ、基板や装置の小型化が実現でき、かつハイブリッ
ドIC化した場合に比較して製造工程が簡略化できる。
As explained above, the present invention provides a resistance that is conventionally required.
Since the timer circuit can be constructed using only semiconductor elements without using passive elements such as capacitors and crystal oscillators, it can be accommodated in one IC package using monolithic IC integration technology. This allows for miniaturization of the board and device compared to the case where a passive element is externally attached, and also simplifies the manufacturing process compared to the case of using a hybrid IC.

更に、外部からクロックを供給する必要がないので、他
の信号パターンに雑音を与え易いクロックの信号パター
ンを布設する必要がなく、装置の信頼性を向上させるこ
とができる。
Furthermore, since there is no need to supply a clock from the outside, there is no need to provide a clock signal pattern that tends to cause noise to other signal patterns, and the reliability of the device can be improved.

また、リファレンス設定後、リファレンス入力時間と同
一のタイマ出力時間を正確に得ることができる。
Furthermore, after setting the reference, it is possible to accurately obtain the timer output time that is the same as the reference input time.

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

第1図は本発明の第1実施例を示しており、同図(a)
は回路図、同図(b)はそのタイミングチャート図、第
2図は本発明の第2実施例を示しており、同図(a)は
回路図、同図(b)はそのタイミングチャート図、第3
図は従来のタイマ回路の一例を示しており、同図(a)
は回路図、同図(b)はそのタイミングチャート図、第
4図は従来のタイマ回路の他の例を示しており、同図(
a)は回路図、同図(b)はそのタイミングチャート図
である。 1・・・カウンタ、2・・・フリップフロップ、3・・
・リングオシレータ、4 6・・・インバータ、 夕、12・・・抵抗、 ンタ、22・・・フリ ジェネレータ、2 ・・・カウンタ、5・・・アンド回路、11・・・単安
定マルチパイブレー 13・・・コンデンサ、21・・・カウップフロップ、
23・・・クロック 4・・・水晶振動子。 (a) (b) μマ代−J匹55s ノイマ声力 第3 図 第4 図 (a) (b) 夕O・、2 Cに 用1=J1且几几 クイつルカ 一ゴー  −1
FIG. 1 shows a first embodiment of the present invention, and FIG.
is a circuit diagram, FIG. 2(b) is a timing chart thereof, and FIG. 2 shows a second embodiment of the present invention, FIG. 2(a) is a circuit diagram, and FIG. , 3rd
The figure shows an example of a conventional timer circuit.
is a circuit diagram, FIG. 4(b) is a timing chart thereof, and FIG.
FIG. 1A is a circuit diagram, and FIG. 1B is a timing chart thereof. 1...Counter, 2...Flip-flop, 3...
・Ring oscillator, 4 6... Inverter, 12... Resistor, 22... Free generator, 2... Counter, 5... AND circuit, 11... Monostable multi-wire 13... Capacitor, 21... Coup flop,
23...Clock 4...Crystal oscillator. (a) (b) μmayo - J animals 55s Noima voice power 3 Figure 4 (a) (b) Yu O・, 2 C for 1 = J1 and sharp Kuitsuruka 1 go -1

Claims (1)

【特許請求の範囲】[Claims] 1、奇数個のインバータを有してクロックを発振するリ
ングオシレータと、このリングオシレータからのクロッ
クを外部からのタイマセット信号によりカウント開始し
、所定数カウントした後にタイマリセット信号を出力す
るカウンタと、前記タイマセット信号によりタイマ出力
をセットし、前記カウンタからのタイマリセット信号に
よりタイマ出力をリセットするフリップフロップとを備
えることを特徴とするタイマ回路。
1. A ring oscillator that has an odd number of inverters and oscillates a clock; a counter that starts counting the clock from this ring oscillator in response to an external timer set signal, and outputs a timer reset signal after counting a predetermined number; A timer circuit comprising: a flip-flop that sets a timer output by the timer set signal and resets the timer output by a timer reset signal from the counter.
JP63335529A 1988-12-29 1988-12-29 Timer circuit Expired - Fee Related JP2844625B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63335529A JP2844625B2 (en) 1988-12-29 1988-12-29 Timer circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63335529A JP2844625B2 (en) 1988-12-29 1988-12-29 Timer circuit

Publications (2)

Publication Number Publication Date
JPH02180425A true JPH02180425A (en) 1990-07-13
JP2844625B2 JP2844625B2 (en) 1999-01-06

Family

ID=18289592

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63335529A Expired - Fee Related JP2844625B2 (en) 1988-12-29 1988-12-29 Timer circuit

Country Status (1)

Country Link
JP (1) JP2844625B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016115381A (en) * 2014-12-15 2016-06-23 株式会社ソシオネクスト Semiconductor device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016115381A (en) * 2014-12-15 2016-06-23 株式会社ソシオネクスト Semiconductor device

Also Published As

Publication number Publication date
JP2844625B2 (en) 1999-01-06

Similar Documents

Publication Publication Date Title
JPH02180425A (en) Timer circuit
JPS6129577B2 (en)
JPS5925401B2 (en) clock pulse generator
JPH0483413A (en) Oscillation circuit and integrated circuit
US6486717B2 (en) Divider with cycle time correction
JP2580940B2 (en) Gate pulse width measurement circuit
JPH0625845B2 (en) Camera remote control device
JP3105510B2 (en) Semiconductor integrated circuit
JPH07131247A (en) Integrated circuit for oscillation
JPS5943766B2 (en) semiconductor integrated circuit
JPH06232703A (en) Oscillator
JP2935319B2 (en) Multi vibrator
JPS6233394Y2 (en)
JPS5943765B2 (en) semiconductor integrated circuit
JPH03117208A (en) Data latch circuit
JPS6143274Y2 (en)
JPH03165616A (en) One-shot multivibrator circuit
JPS6124956Y2 (en)
JPS6239951B2 (en)
JPS6087518A (en) Monostable oscillator
JPH0732532U (en) Temperature detection circuit
JPH0426221A (en) Oscillation circuit
JPH06282348A (en) Serial clock generating circuit
JPH09238056A (en) Pulse width control circuit
JPH0442465A (en) Magnetic disk device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees