Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3180966B2 - Digital hysteresis circuit - Google Patents
[go: Go Back, main page]

JP3180966B2 - Digital hysteresis circuit - Google Patents

Digital hysteresis circuit

Info

Publication number
JP3180966B2
JP3180966B2 JP34650091A JP34650091A JP3180966B2 JP 3180966 B2 JP3180966 B2 JP 3180966B2 JP 34650091 A JP34650091 A JP 34650091A JP 34650091 A JP34650091 A JP 34650091A JP 3180966 B2 JP3180966 B2 JP 3180966B2
Authority
JP
Japan
Prior art keywords
pulse
state
circuit
counted
gate
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP34650091A
Other languages
Japanese (ja)
Other versions
JPH05180662A (en
Inventor
節夫 堀
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kyocera Corp
Original Assignee
Kyocera 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 Kyocera Corp filed Critical Kyocera Corp
Priority to JP34650091A priority Critical patent/JP3180966B2/en
Publication of JPH05180662A publication Critical patent/JPH05180662A/en
Application granted granted Critical
Publication of JP3180966B2 publication Critical patent/JP3180966B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Indication And Recording Devices For Special Purposes And Tariff Metering Devices (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、デジタル制御温度補償
回路や、デジタル測定回路などに用いられ、デジタル誤
差による計測値のちらつきをなくすためにデジタル的に
ヒステリシスを生じさせる、デジタルヒステリシス回路
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a digital hysteresis circuit which is used in a digital control temperature compensating circuit, a digital measuring circuit, etc., and which digitally generates hysteresis in order to eliminate flickering of a measured value due to a digital error.

【0002】[0002]

【従来技術及びその課題】最近、各種電子機器におい
て、計測値をデジタル化して表示したり、デジタル化し
た計測値により機器を制御することが多くなっている。
2. Description of the Related Art Recently, in various electronic devices, measured values are digitized and displayed, and devices are often controlled based on the digitized measured values.

【0003】例えば、通信機器などに用いられる基準発
振器としては、環境温度変化に対して発振周波数の変化
しないデジタル制御温度補償型水晶発振器などが用いら
れる。
For example, a digitally controlled temperature-compensated crystal oscillator whose oscillation frequency does not change in response to changes in environmental temperature is used as a reference oscillator used in communication equipment and the like.

【0004】このデジタル制御温度補償型水晶発振器に
用いられる温度補償回路の一例として、発振周波数が温
度変化に敏感な無安定マルチバイブレータをゲートパル
ス発生器とし、発振周波数が温度変化により変化しない
無安定マルチバイブレータを基準パルス発生器として、
基準パルス発生器のパルスから温度に対応したパルス数
をゲートパルスのゲートによってカウントし、それを温
度データとしているものがある。その温度データによっ
て、PROMにあらかじめ格納された各温度に対応する
補償データを呼び出し、D/Aコンバータを通じてアナ
ログ出力に変換し、それを発振回路のバリキャップダイ
オードに印加するようにしている。それによって、発振
周波数を一定に制御する。
As an example of a temperature compensation circuit used in this digitally controlled temperature-compensated crystal oscillator, an astable multivibrator whose oscillation frequency is sensitive to a temperature change is used as a gate pulse generator, and an astable multi-vibrator whose oscillation frequency does not change due to a temperature change. Using a multivibrator as a reference pulse generator
In some cases, the number of pulses corresponding to the temperature is counted from the pulse of the reference pulse generator by the gate of the gate pulse, and the count is used as temperature data. Based on the temperature data, compensation data corresponding to each temperature previously stored in the PROM is called, converted into an analog output through a D / A converter, and applied to a varicap diode of an oscillation circuit. Thereby, the oscillation frequency is controlled to be constant.

【0005】この温度補償回路において、例えば、環境
温度が実際には大きく変動していなくても、温度データ
となるパルス数がふらつくという問題がある。この原因
は、被計数パルスである基準パルスをゲート停止信号の
立ち上がりで切ってカウントする際に、ゲート停止信号
の立ち上がりが基準パルスのHIGH状態からLOW状
態、又はLOW状態からHIGH状態に変化する部分に
近いと、デジタル誤差となって、1パルス分余分にカウ
ントしたりしなかったりするためである。
In this temperature compensation circuit, for example, there is a problem that the number of pulses used as temperature data fluctuates even if the environmental temperature does not actually fluctuate greatly. The cause is that when the reference pulse, which is the counted pulse, is cut off at the rise of the gate stop signal and counted, the rise of the gate stop signal changes from the HIGH state to the LOW state or from the LOW state to the HIGH state of the reference pulse. This is because if it is close to the above, a digital error will occur and one pulse will not be counted or not.

【0006】本発明は上述の問題点を解決するために案
出されたものであり、その目的は、デジタル制御温度補
償回路やデジタル測定回路に用いられ、上記のようなデ
ジタル誤差による計測値のちらつきをなくすために、デ
ジタル的にヒステリシスを生じさせるデジタルヒステリ
シス回路を提供することである。
The present invention has been devised to solve the above-described problems, and has as its object to be used in a digital control temperature compensation circuit or a digital measurement circuit, and to measure a measurement value due to a digital error as described above. An object of the present invention is to provide a digital hysteresis circuit for digitally generating hysteresis in order to eliminate flicker.

【0007】[0007]

【課題を解決するための手段】本発明は、被計数パルス
(例えば、図中の基準パルス)と、該被計数パルスの周
期よりも長いゲート期間を有するゲートパルス(例え
ば、図中の温度パルス)とを、ゲートパルスの一周期毎
に比較し、各ゲート期間内での被計数パルスのパルス数
を決定するためのカウント停止信号を出力するデジタル
ヒステリシス回路であって、(1)所定ゲート期間が終
了する時に、被計数パルスがHIGHの場合には、被計
数パルスが次のLOW状態になる時点で、カウント停止
信号を、(2)所定ゲート期間が終了する時に、被計数
パルスがLOW状態の場合には、被計数パルスのパルス
数と前ゲート期間内の被計数パルスのパルス数の偶・奇
とを比較し、偶奇が一致していれば、所定ゲート期間の
終了と同期してカウント停止信号を、偶奇が一致してな
ければ、次の被計数パルスの立ち下がりでカウント停止
信号を、夫々出力することを特徴とするデジタルヒステ
リシス回路を提供するものである。
According to the present invention, a pulse to be counted (for example, a reference pulse in the figure) and a gate pulse having a gate period longer than the period of the pulse to be counted (for example, a temperature pulse in the figure) are provided. ) In each cycle of the gate pulse, and outputs a count stop signal for determining the number of pulses to be counted in each gate period, wherein (1) a predetermined gate period When the counted pulse is HIGH at the end of the period, the count stop signal is set at the time when the counted pulse goes to the next LOW state, and (2) the counted pulse is set to the LOW state at the end of the predetermined gate period. In this case, the number of pulses to be counted is compared with the even / odd number of pulses to be counted in the previous gate period, and if the numbers match, the count is synchronized with the end of the predetermined gate period. The door stop signal, if no match is odd, a count stop signal at the falling edge of the next object to be counted pulses, there is provided a digital hysteresis circuit, characterized in that each output.

【0008】[0008]

【作用】以下に本発明の作用を説明する。The operation of the present invention will be described below.

【0009】本発明のデジタルヒステリシス回路をデジ
タル制御温度補償発振器やデジタル測定回路に用いるこ
とにより、温度データや測定データを示す変動信号の周
期が微少範囲でふらつく現象が生じても、それによって
被計数パルスのカウントパルス数が直接に変化しないよ
うにする。
By using the digital hysteresis circuit of the present invention for a digitally controlled temperature-compensated oscillator or a digital measuring circuit, even if a phenomenon occurs in which the period of the fluctuation signal indicating the temperature data or the measured data fluctuates in a very small range, the counting is performed by this. The pulse count pulse number should not be directly changed.

【0010】すなわち、被計数パルスがHIGH状態の
途中で、被計数パルスのカウントする所定ゲート期間が
終了した時には、上記HIGH状態までの被計数パルス
数をカウントして、ゲート期間の終了の時間的位置がわ
ずかに変動してもカウントパルス数には変動が生じない
ように、カウント停止信号が発生する。
That is, when a predetermined gate period for counting the counted pulses ends in the middle of the HIGH state of the counted pulses, the number of counted pulses up to the HIGH state is counted, and the time of the end of the gate period is counted. A count stop signal is generated so that even if the position slightly changes, the count pulse number does not change.

【0011】一方、被計数パルスがLOW状態の途中
で、所定ゲート期間が終了した時には、前回の被計数パ
ルスのカウントパルス数と今回のカウントパルス数の偶
奇が一致すれば変動の影響がないと判断して、直前まで
の被計数パルスのパルス数をカウントし、一致しなけれ
ば変動の影響があると判断して、もう1パルスカウント
するまでカウント停止信号が発生しない。その結果、最
終的に発振器の周波数が変動したり、測定値の表示がち
らついたりすることが防止される。
On the other hand, when the predetermined gate period ends in the middle of the LOW state of the counted pulse, if the count pulse number of the previous counted pulse coincides with the even number of the current counted pulse, there is no influence of the fluctuation. Judgment is made, the number of pulses to be counted up to immediately before is counted, and if they do not match, it is judged that there is an influence of fluctuation, and a count stop signal is not generated until another pulse is counted. As a result, it is possible to prevent the frequency of the oscillator from fluctuating and the display of the measured value from flickering.

【0012】[0012]

【実施例】以下、本発明を図面に基づいて説明する。以
下の実施例においては被計数パルスが基準パルスであ
り、ゲートパルスが変動パルスである場合について説明
し、逆の場合は省略するが、逆の場合も本発明が同様に
実施できることは言うまでもない。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below with reference to the drawings. In the following embodiments, the case where the counted pulse is a reference pulse and the gate pulse is a fluctuating pulse will be described, and the opposite case will be omitted. However, it is needless to say that the present invention can be similarly implemented in the opposite case.

【0013】図1は、本発明のデジタルヒステリシス回
路を用いたデジタル型温度補償水晶発振器のブロック図
の例である。図中、1は基準パルス発生器、2は周囲温
度により周波数の変動する温度パルス発生器、3はデジ
タルヒステリシス回路、4はタイミングパルス発生器、
5はメモリ部であるPROM回路、6はアップダウンカ
ウンタ、7はラッチ回路、8は電圧制御型水晶発振器で
ある。実際には、更に定電圧レギュレータを使用して動
作の安定化を図っているが、ここでは省略している。こ
の発振器の動作原理を以下に簡単に説明する。
FIG. 1 is an example of a block diagram of a digital temperature compensated crystal oscillator using a digital hysteresis circuit of the present invention. In the figure, 1 is a reference pulse generator, 2 is a temperature pulse generator whose frequency varies depending on the ambient temperature, 3 is a digital hysteresis circuit, 4 is a timing pulse generator,
5 is a PROM circuit as a memory unit, 6 is an up / down counter, 7 is a latch circuit, and 8 is a voltage controlled crystal oscillator. Actually, the operation is stabilized by further using a constant voltage regulator, but is omitted here. The operation principle of this oscillator will be briefly described below.

【0014】基準パルス発生器1で発生する基準パルス
tsと温度パルス発生器2で発生する温度パルスTT
(ゲート期間を設定するための信号)とを同時にデジタ
ルヒステリシス回路3に入力する。このデジタルヒステ
リシス回路3からは、基準パルスをヒステリシス処理さ
れた計数期間を設定するカウント停止信号OSが出力さ
れ、タイミングパルス発生器4により、基準パルス発生
器1の基準パルスtsから周囲温度に対応した数のパル
スを選択する。カウント停止信号OSは、選択するパル
ス数の微少なふらつきをなくすようなタイミングで出力
されるものである。
The reference pulse ts generated by the reference pulse generator 1 and the temperature pulse TT generated by the temperature pulse generator 2
(A signal for setting a gate period) is input to the digital hysteresis circuit 3 at the same time. The digital hysteresis circuit 3 outputs a count stop signal OS for setting a counting period in which the reference pulse has been subjected to hysteresis processing. The timing pulse generator 4 corresponds to the ambient temperature from the reference pulse ts of the reference pulse generator 1. Select a number of pulses. The count stop signal OS is output at such a timing that minute fluctuations in the number of pulses to be selected are eliminated.

【0015】PROM回路5には温度補償データがあら
かじめデファレンシャルメモリ方式のデータ(+1、−
1、0の何れかの数値)として入れてあり、そのデータ
と温度データに相当する前記のパルス数とを掛け合わ
せ、それをアップダウンカウンタ6で計数する。次に該
計数値をラッチ回路7でアナログ電圧に変換し、その電
圧を電圧制御型水晶発振器8の可変容量ダイオードに印
加し、発振周波数の補正を行う。
The PROM circuit 5 previously stores temperature compensation data (+1,-) in a differential memory system.
The data is multiplied by the pulse number corresponding to the temperature data, and the result is counted by the up / down counter 6. Next, the count value is converted into an analog voltage by the latch circuit 7, and the voltage is applied to the variable capacitance diode of the voltage-controlled crystal oscillator 8 to correct the oscillation frequency.

【0016】図2は本発明のヒステリシス回路の回路図
の例である。
FIG. 2 is an example of a circuit diagram of a hysteresis circuit according to the present invention.

【0017】このヒステリシス回路は、3つのフリップ
−フロップ(以下FF)回路Q21〜Q23、EX−O
RゲートQ24、NORゲート25、4つのNOTゲー
トQ26〜Q29を接続することにより構成される。
This hysteresis circuit includes three flip-flop (FF) circuits Q21 to Q23, EX-O
An R gate Q24, a NOR gate 25, and four NOT gates Q26 to Q29 are connected.

【0018】基準パルスtsと、例えば温度によって周
波数が変動する温度パルスTTをこの回路に入力し、カ
ウント停止信号OSを出力するものである。カウント停
止信号OSは、ヒステリシス処理を含めた計数期間を設
定するカウント停止信号であり、この信号が出力するこ
とにより、温度パルス発生器2の温度パルスTTの状態
に対応したパルス数を取り出すことができる。即ち、基
準パルスts、温度パルスTTとが同期してゲート期間
が発生し、温度パルスTTに基づく所定ゲート期間が設
定される。このゲート期間の終了時点における基準パル
スtsのパルス状況に応じて、実際に基準パルスtsが
カウントされるパルス数の調整を行うカウント停止信号
OSが発生する。さらにゲート期間の終了時点における
基準パルスtsのパルス状況に応じて、温度パルスTT
の一周期前のゲート期間でカウントしたパルス数をその
まま導出するようにカウント停止信号OSが発生する。
A reference pulse ts and a temperature pulse TT whose frequency varies depending on the temperature, for example, are input to this circuit and a count stop signal OS is output. The count stop signal OS is a count stop signal for setting a counting period including the hysteresis process. By outputting this signal, the number of pulses corresponding to the state of the temperature pulse TT of the temperature pulse generator 2 can be extracted. it can. That is, a gate period is generated in synchronization with the reference pulse ts and the temperature pulse TT, and a predetermined gate period based on the temperature pulse TT is set. A count stop signal OS for adjusting the number of pulses for actually counting the reference pulse ts is generated according to the pulse state of the reference pulse ts at the end of the gate period. Further, according to the pulse state of the reference pulse ts at the end of the gate period, the temperature pulse TT
The count stop signal OS is generated so as to directly derive the number of pulses counted in the gate period one cycle before.

【0019】まず、FF回路Q21、FF回路Q22、
FF回路Q23は一般にデータ・フリップフロップ回路
と呼ばれるものである。この例では、データ・フリップ
フロップは、入力パルスの立ち上がり時に、そのFF回
路のデータ端子Dに印加されているデータの内容が出力
端子Q、Q’へ出力する機能を有する。これらの回路Q
21〜Q23において、CPはクロックパルス入力端
子、Dはデータ端子、Q、Q’は出力と反転出力端子、
RSTはリセット端子、PRはプリセット端子である。
First, the FF circuit Q21, the FF circuit Q22,
The FF circuit Q23 is generally called a data flip-flop circuit. In this example, the data flip-flop has a function of outputting the content of the data applied to the data terminal D of the FF circuit to the output terminals Q and Q 'when the input pulse rises. These circuits Q
21 to Q23, CP is a clock pulse input terminal, D is a data terminal, Q and Q 'are output and inverted output terminals,
RST is a reset terminal, and PR is a preset terminal.

【0020】ここで、出力Q’は出力Qと逆位相の信号
を出力する。また、RST端子にHIGH(以下、単に
Hという)状態の信号が印加されると、クロックパルス
信号CPに関係なく出力Qがゼロ(LOW(以下、単に
Lという)状態)になる。一方、PR端子にH状態の信
号が印加されると、クロックパルス信号CPに関係なく
出力QがH状態になる。
Here, the output Q 'outputs a signal having a phase opposite to that of the output Q. When a signal in a HIGH (hereinafter, simply referred to as H) state is applied to the RST terminal, the output Q becomes zero (LOW (hereinafter, simply referred to as L) state) regardless of the clock pulse signal CP. On the other hand, when a signal in the H state is applied to the PR terminal, the output Q goes to the H state regardless of the clock pulse signal CP.

【0021】FF回路Q21はQ’端子をD端子に接続
することにより、トリガー・フリップフロップとして機
能する。このトリガー・フリップフロップは、その回路
に入力するパルスの立ち上がりを検知する毎に出力の状
態を反転させる様な機能を有するものである。従って、
このFF回路Q21は分周機能を有し、入力に対して出
力Q、Q’が1/2の周波数になる。そのためにこの例
では、入力パルスのカウント数が偶数なら出力はL状
態、奇数ならH状態となり、入力パルスの偶奇判定が出
来ることになる。本発明のヒステリシス回路において
は、カウント停止信号OSが立ち上がるまでの基準パル
スtsのパルス数が偶数か奇数かをカウントし、判定す
る。
The FF circuit Q21 functions as a trigger flip-flop by connecting the Q 'terminal to the D terminal. The trigger flip-flop has a function of inverting the output state each time a rising edge of a pulse input to the circuit is detected. Therefore,
This FF circuit Q21 has a frequency dividing function, and outputs Q and Q 'have a frequency of 1/2 with respect to the input. Therefore, in this example, if the count number of the input pulse is even, the output is in the L state, and if the count number is odd, the output is in the H state, so that even / odd determination of the input pulse can be performed. The hysteresis circuit of the present invention counts and determines whether the number of reference pulses ts until the count stop signal OS rises is even or odd.

【0022】FF回路Q22はカウント停止信号OSが
立ち上がる直前のFF回路Q21の出力を記憶しておく
メモリである。この記憶の原理は以下の通りである。す
なわち、カウント停止信号OSが立ち上がると同時に、
FF回路Q22のクロックパルスCPがL状態からH状
態になり、FF回路Q21の出力端子Qからの出力をF
F回路Q22のデータDに受けて、FF回路Q22の出
力端子Qに元のFF回路Q21の出力端子Qの出力が
(次にカウント停止信号OSが立ち上がる時まで)保存
される。その後FF回路Q21にはリセット信号が印加
され、内容がクリアされる。NOTゲートQ28、NO
TゲートQ29は、カウント停止信号OS信号がFF回
路Q21のRST端子に入るのを遅延させて、FF回路
Q21の内容がFF回路Q22に転送された後に消去さ
れるようにするために設けられている。
The FF circuit Q22 is a memory for storing the output of the FF circuit Q21 immediately before the count stop signal OS rises. The principle of this memory is as follows. That is, at the same time when the count stop signal OS rises,
The clock pulse CP of the FF circuit Q22 changes from the L state to the H state, and the output from the output terminal Q of the FF circuit Q21 is
In response to the data D of the F circuit Q22, the output of the original output terminal Q of the FF circuit Q21 is stored in the output terminal Q of the FF circuit Q22 (until the next time the count stop signal OS rises). Thereafter, a reset signal is applied to the FF circuit Q21 to clear the contents. NOT gate Q28, NO
The T gate Q29 is provided to delay the count stop signal OS signal from entering the RST terminal of the FF circuit Q21 so that the contents of the FF circuit Q21 are erased after being transferred to the FF circuit Q22. I have.

【0023】EX−ORゲートQ24は、FF回路Q2
1とFF回路Q22の2つの入力信号の状態が一致して
いれば、L状態の信号を、違えば、H状態の信号を出力
する。
The EX-OR gate Q24 is connected to the FF circuit Q2
1 and the two input signals of the FF circuit Q22 match, the L-state signal is output, and if not, the H-state signal is output.

【0024】NORゲートQ25は、全ての入力がL状
態の時、H状態を出力し、それ以外ではL状態を出力す
る。ここでは、基準パルスtsとEX−ORゲートQ2
4がL状態においては、温度パルスTTパルスが立ち上
がる瞬間にNORゲートQ25の出力はH状態になる。
The NOR gate Q25 outputs an H state when all inputs are in an L state, and outputs an L state otherwise. Here, the reference pulse ts and the EX-OR gate Q2
When the signal 4 is in the L state, the output of the NOR gate Q25 becomes the H state at the moment when the temperature pulse TT pulse rises.

【0025】FF回路Q23は、温度パルスTTが立ち
上がってからどのタイミングでカウント停止信号OSを
出すかを決定する回路である。NORゲートQ25の出
力がL状態の場合には、温度パルスTTが立ち上がって
から最初の基準パルスtsの立ち下がりでFF回路Q2
3の出力(カウント停止信号OS)が立ち上がる。NO
RゲートQ25の出力がH状態の場合には、FF回路Q
23のPR端子がH状態になり、温度パルスTTが立ち
上がると即時にFF回路Q23の出力(カウント停止信
号OS)が立ち上がる。
The FF circuit Q23 is a circuit that determines at which timing the count stop signal OS is issued after the rise of the temperature pulse TT. When the output of the NOR gate Q25 is in the L state, the FF circuit Q2 is turned on at the fall of the first reference pulse ts after the rise of the temperature pulse TT.
The output No. 3 (count stop signal OS) rises. NO
When the output of the R gate Q25 is in the H state, the FF circuit Q
When the PR terminal 23 goes high and the temperature pulse TT rises, the output (count stop signal OS) of the FF circuit Q23 rises immediately.

【0026】NOTゲートQ26〜Q29は通過した信
号は位相が反転する。
The signals passed through the NOT gates Q26 to Q29 are inverted in phase.

【0027】次に、このヒステリシス回路全体の動作
を、いくつかの初期状態を例にとって説明する。
Next, the operation of the entire hysteresis circuit will be described with reference to some initial states.

【0028】基準パルスtsがH状態で、温度パルス
TTがL状態からH状態に立ち上がる、即ち所定ゲート
期間が終了する時 まず、FF回路Q23において、温度パルスTTからN
OTゲートQ27によりH状態からL状態に反転した信
号がRST端子に印加され動作状態になる。この時にN
ORゲートQ25では、基準パルスtsからの入力がH
状態のため、FF回路Q21やFF回路Q22の状態に
かかわらずPR端子にもL状態が印加される。しかしこ
の時点では、クロックパルスCPはL状態のため出力端
子Qから出力はない。その後基準パルスtsがL状態に
なった時、クロックパルスCPがH状態になり、D端子
に印加された電圧が出力端子Qに出力されるため、カウ
ント停止信号OSがL状態からH状態に立ち上がる。
When the reference pulse ts is in the H state and the temperature pulse TT rises from the L state to the H state, that is, when the predetermined gate period is completed.
The signal inverted from the H state to the L state by the OT gate Q27 is applied to the RST terminal to be in an operation state. At this time N
In the OR gate Q25, the input from the reference pulse ts is H
Because of the state, the L state is also applied to the PR terminal regardless of the state of the FF circuits Q21 and Q22. However, at this time, there is no output from the output terminal Q because the clock pulse CP is in the L state. Thereafter, when the reference pulse ts changes to the L state, the clock pulse CP changes to the H state, and the voltage applied to the D terminal is output to the output terminal Q. Therefore, the count stop signal OS rises from the L state to the H state. .

【0029】すなわち、この場合には、温度パルスTT
が立ち上がっても、カウント停止信号OSはすぐには立
ち上がらず、基準パルスtsがL状態になった時点で初
めて立ち上がる。これは、FF回路Q21、Q22の状
態には依存しない。この状態を図3のタイミングチャー
ト図で示す。
That is, in this case, the temperature pulse TT
Rises, the count stop signal OS does not rise immediately, but rises only when the reference pulse ts goes to the L state. This does not depend on the states of the FF circuits Q21 and Q22. This state is shown in the timing chart of FIG.

【0030】すなわち、基準パルスtsがH状態からL
状態の前後で温度パルスTTがL状態からH状態に立ち
上がる場合には、もし温度パルスTTそのものをカウン
ト停止信号としていれば、1パルスカウントしたりしな
かったりする現象がおきるが、この場合は必ず次に基準
パルスtsがL状態になった状態でカウント停止信号O
Sが立ち上がるため、この基準パルスtsがHまでのパ
ルス数をカウントする。
That is, the reference pulse ts changes from the H state to the L state.
When the temperature pulse TT rises from the L state to the H state before and after the state, if the temperature pulse TT itself is used as a count stop signal, a phenomenon that one pulse is counted or not occurs. Next, when the reference pulse ts is in the L state, the count stop signal O
Since S rises, the number of pulses until the reference pulse ts reaches H is counted.

【0031】基準パルスtsがL状態、FF回路Q2
1がL状態、FF回路Q22がL状態で、温度パルスT
TがL状態からH状態に立ち上がる、即ち所定ゲート期
間が終了する時 まず、FF回路Q23において、温度
パルスTTからNOTゲートQ27によりH状態からL
状態に反転した信号がRST端子に印加され、動作状態
になる。この時点でFF回路Q21、Q22共にL状態
なので、EX−ORゲートQ24はL状態となり、NO
RゲートQ25の3つの入力が全てL状態になるので、
PR端子にはH状態が印加され、プリセット状態にな
る。従って、FF回路Q23の出力端子QからはH状態
が出力され、カウント停止信号OSがL状態からH状態
に立ち上がる。
When the reference pulse ts is in the L state, the FF circuit Q2
1 is in the L state, the FF circuit Q22 is in the L state, and the temperature pulse T
When T rises from the L state to the H state, that is, when the predetermined gate period ends, first, in the FF circuit Q23, from the temperature pulse TT to the L state from the H state by the NOT gate Q27.
The signal inverted to the state is applied to the RST terminal, and the operation state is set. At this point, since the FF circuits Q21 and Q22 are both in the L state, the EX-OR gate Q24 is in the L state and NO
Since all three inputs of the R gate Q25 are in the L state,
The H state is applied to the PR terminal, and the PR terminal enters a preset state. Therefore, the H state is output from the output terminal Q of the FF circuit Q23, and the count stop signal OS rises from the L state to the H state.

【0032】即ち、この場合には、温度パルスTTが立
ち上がると同時にカウント停止信号OSが立ち上がる。
この状態を図4(a)のタイミングチャート図で示す。
That is, in this case, the count stop signal OS rises at the same time as the rise of the temperature pulse TT.
This state is shown in the timing chart of FIG.

【0033】基準パルスtsがL状態、FF回路Q21
がH状態、FF回路Q22がH状態で、温度パルスTT
がL状態からH状態に立ち上がる、即ち所定ゲート期間
が終了する時も、詳細な説明は省略するが、カウント停
止信号OSの立ち上がりのタイミングはこの場合と同様
になる。尚、この状態を図4(b)のタイミングチャー
ト図で示す。
When the reference pulse ts is in the L state, the FF circuit Q21
Is in the H state, the FF circuit Q22 is in the H state, and the temperature pulse TT
Also rises from the L state to the H state, that is, when the predetermined gate period ends, the detailed description is omitted, but the timing of the rise of the count stop signal OS is the same as in this case. This state is shown in the timing chart of FIG.

【0034】以上により、基準パルスtsがL状態で温
度パルスTTがL状態からH状態に立ち上がる場合に
は、前回のカウント停止信号OSがL状態期間中の基準
パルスtsパルス数の偶奇と今回の基準パルスtsパル
ス数の偶奇とが一致していれば、温度パルスTTのちら
つきの影響はないと判定して、即時にカウント停止信号
OSが立ち上がり、この時点までのパルス数をカウント
することになる。
As described above, in the case where the reference pulse ts is in the L state and the temperature pulse TT rises from the L state to the H state, the previous count stop signal OS indicates whether the pulse number of the reference pulse ts during the L state period is the same as that of the current pulse. If the pulse number of the reference pulse ts coincides with the pulse number, it is determined that there is no influence of the flicker of the temperature pulse TT, the count stop signal OS rises immediately, and the pulse number up to this point is counted. .

【0035】基準パルスtsがL状態、FF回路Q2
1がH状態、FF回路Q22がL状態で、温度パルスT
TがL状態からH状態に立ち上がる、即ち所定ゲート期
間が終了する時 まず、FF回路Q23において、温度パルスTTからN
OTゲートQ27によりH状態からL状態に反転した信
号がRST端子に印加されることにより、動作状態にな
る。この時点でFF回路Q21がH状態、FF回路Q2
2がL状態なので、EX−ORゲートQ24はH状態と
なり、NORゲートQ25への1つの入力がH状態にな
るので、PR端子にはL状態が印加される。従ってこの
状態ではプリセットは働かず、FF回路Q23の出力端
子Qからは出力されない。この状態から、次に基準パル
スtsがH状態になった時には、FF回路Q23のクロ
ックパルスCPがL状態のため、出力端子Qの出力はL
状態のままである。
When the reference pulse ts is in the L state, the FF circuit Q2
1 is in the H state, the FF circuit Q22 is in the L state, and the temperature pulse T
When T rises from the L state to the H state, that is, when the predetermined gate period ends, first, in the FF circuit Q23, the temperature pulse TT changes from N to N.
When the signal inverted from the H state to the L state by the OT gate Q27 is applied to the RST terminal, the operation state is set. At this time, the FF circuit Q21 is in the H state and the FF circuit Q2
Since 2 is in the L state, the EX-OR gate Q24 is in the H state and one input to the NOR gate Q25 is in the H state, so that the L state is applied to the PR terminal. Therefore, in this state, the preset does not work, and no signal is output from the output terminal Q of the FF circuit Q23. From this state, when the reference pulse ts goes high next time, the output of the output terminal Q goes low because the clock pulse CP of the FF circuit Q23 is low.
It remains in a state.

【0036】FF回路Q23の出力端子Qからの出力が
生じるためには、FF回路Q23のCP端子の出力が次
にL状態になりCP端子にH状態が印加された時であ
る。
The output from the output terminal Q of the FF circuit Q23 occurs when the output of the CP terminal of the FF circuit Q23 goes low next and the high state is applied to the CP terminal.

【0037】ここで、基準パルスtsかEX−ORゲー
トQ24はどちらかが必ずH状態にあるので、NORゲ
ートQ25の出力は常にL状態のためFF回路Q23に
プリセットはかからず、FF回路Q21からの信号が上
記の動作に悪影響することはない。
Since either the reference pulse ts or the EX-OR gate Q24 is always in the H state, the output of the NOR gate Q25 is always in the L state, so that the FF circuit Q23 is not preset and the FF circuit Q21 is not set. Does not adversely affect the above operation.

【0038】すなわち、この場合には、温度パルスTT
が立ち上がっても、カウント停止信号OSはすぐには立
ち上がらず、基準パルスtsが次のL状態になった時点
で初めて立ち上がる。尚、この状態を図5(a)のタイ
ミングチャート図で示す。
That is, in this case, the temperature pulse TT
Rises, the count stop signal OS does not rise immediately, but rises only when the reference pulse ts goes to the next L state. This state is shown in the timing chart of FIG.

【0039】基準パルスtsがL状態、FF回路Q21
がH状態、FF回路Q22がL状態で、温度パルスTT
がL状態からH状態に立ち上がる時も、詳細な説明は省
略するが、カウント停止信号OSの立ち上がりのタイミ
ングはこの場合と同様になる。尚、この状態を図5
(b)のタイミングチャート図で示す。
When the reference pulse ts is in the L state, the FF circuit Q21
Is in the H state, the FF circuit Q22 is in the L state, and the temperature pulse TT
When the signal rises from the L state to the H state, detailed description is omitted, but the timing of the rise of the count stop signal OS is the same as in this case. This state is shown in FIG.
This is shown in the timing chart of FIG.

【0040】以上により、基準パルスtsがL状態で温
度パルスTTがL状態からH状態に立ち上がる場合に
は、前回のカウント停止信号OSがL状態期間中の基準
パルスtsパルス数の偶奇と今回の基準パルスtsパル
ス数の偶奇とが一致していなければ、温度パルスTTの
ちらつきの影響があると判定して基準パルスtsが次の
L状態になった時にカウント停止信号OSが立ち上が
り、この時点までのパルス数をカウントすることにな
る。
As described above, when the reference pulse ts is in the L state and the temperature pulse TT rises from the L state to the H state, the previous count stop signal OS indicates whether the pulse count of the reference pulse ts during the L state period is equal to the number of pulses of the reference pulse ts during the L state. If the pulse number of the reference pulse ts does not coincide with the evenness of the pulse number, it is determined that the influence of the temperature pulse TT flickers, and the count stop signal OS rises when the reference pulse ts goes to the next L state. Will be counted.

【0041】また、この図2の回路において、温度パル
スTTの周期は基準パルスtsの周期よりも比較的長い
周期とする必要があるが、温度パルスTTを基準パルス
として基準パルスtsを温度の変化により周期が変化す
るパルスとしても同様に機能させ得ることは、前述の通
りである。
In the circuit of FIG. 2, the cycle of the temperature pulse TT needs to be relatively longer than the cycle of the reference pulse ts, but the temperature pulse TT is used as a reference pulse and the reference pulse ts is used to change the temperature. As described above, a pulse whose cycle changes according to the above can also function.

【0042】また、図2の回路において、基準パルスt
s、TTが入力される端子にインバーターを接続するこ
とにより、上述の説明において、L状態がH状態に、H
状態がL状態として動作させることも可能である。
Further, in the circuit shown in FIG.
By connecting an inverter to a terminal to which s and TT are input, in the above description, the L state changes to the H state and the H state changes to the H state.
It is also possible to operate as the L state.

【0043】[0043]

【発明の効果】以上、本発明によれば、基準パルス信号
の位相状態と温度の変化により周期が変動するパルス信
号の位相変化の組み合わせの状態によって、パルスのカ
ウント停止信号の立ち上がりタイミングを変化させるデ
ジタルヒステリシス回路が得られる。この回路を用いる
ことにより、パルスのカウント数がちらつかないように
することができる。
As described above, according to the present invention, the rising timing of the pulse count stop signal is changed depending on the combination of the phase state of the reference pulse signal and the phase change of the pulse signal whose period fluctuates due to a change in temperature. A digital hysteresis circuit is obtained. By using this circuit, the pulse count can be prevented from flickering.

【0044】[0044]

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

【図1】本発明のデジタルヒステリシス回路を用いたデ
ジタル型温度補償水晶発振器を示すブロック図である。
FIG. 1 is a block diagram showing a digital temperature-compensated crystal oscillator using a digital hysteresis circuit of the present invention.

【図2】本発明のデジタルヒステリシス回路を示す回路
図である。
FIG. 2 is a circuit diagram showing a digital hysteresis circuit according to the present invention.

【図3】基準パルスtsがH状態で、温度パルスTTが
L状態からH状態に立ち上がる時のカウント停止信号O
S信号の立ち上がりを示すタイミングチャートである。
FIG. 3 shows a count stop signal O when the temperature pulse TT rises from the L state to the H state when the reference pulse ts is in the H state.
6 is a timing chart showing a rise of an S signal.

【図4】基準パルスtsがL状態で、温度パルスTTが
L状態からH状態に立ち上がる時のカウント停止信号O
S信号の立ち上がりを示すタイミングチャート図であ
り、(a)はFF回路Q21とFF回路Q22がL状態
の時を示すものであり、(b)はFF回路Q21とFF
回路Q22がH状態の時を示すものである。
FIG. 4 shows a count stop signal O when the temperature pulse TT rises from the L state to the H state when the reference pulse ts is in the L state.
FIG. 7A is a timing chart showing a rise of an S signal, FIG. 7A shows a state when the FF circuits Q21 and Q22 are in an L state, and FIG.
This shows when the circuit Q22 is in the H state.

【図5】基準パルスtsがL状態で、温度パルスTTが
L状態からH状態に立ち上がる時のカウント停止信号O
S信号の立ち上がりを示すタイミングチャート図であ
り、(a)はFF回路Q21がH状態、FF回路Q22
がL状態の時を示すものであり、(b)はFF回路Q2
1がL状態、FF回路Q22がH状態の時を示すもので
ある。
FIG. 5 shows a count stop signal O when the temperature pulse TT rises from the L state to the H state when the reference pulse ts is in the L state.
FIG. 7A is a timing chart showing the rise of the S signal, and FIG. 7A shows the FF circuit Q21 in the H state and the FF circuit Q22;
Shows the state of the L state, and (b) shows the state of the FF circuit Q2.
1 indicates the L state and the FF circuit Q22 is in the H state.

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

1・・・・基準パルス発生器 2・・・・温度パルス発生器 3・・・・デジタルヒステリシス回路 4・・・・タイミングパルス発生器 Q21〜Q23・・・フリップフロップ回路 Q24・・・・EX−OR回路 25・・・・・NOR回路 Q26〜Q29・・NOTゲート 1 ··· Reference pulse generator 2 ··· Temperature pulse generator 3 ··· Digital hysteresis circuit 4 ··· Timing pulse generator Q21 to Q23 ··· Flip-flop circuit Q24 ··· EX -OR circuit 25... NOR circuit Q26 to Q29... NOT gate

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 被計数パルスと、該被計数パルスの周期
よりも長いゲート期間を有するゲートパルスとを、ゲー
トパルスの一周期毎に比較し、各ゲート期間内での被計
数パルスのパルス数を決定するためのカウント停止信号
を出力するデジタルヒステリシス回路であって、(1)
所定ゲート期間が終了する時に、被計数パルスがHIG
H状態の場合には、被計数パルスが次のLOW状態にな
る時点で、カウント停止信号を、(2)所定ゲート期間
が終了する時に、被計数パルスがLOW状態の場合に
は、被計数パルスのパルス数と前ゲート期間内の被計数
パルスのパルス数の偶・奇とを比較し、偶奇が一致して
いれば、所定ゲート期間の終了と同期してカウント停止
信号を、偶奇が一致してなければ、次の被計数パルスの
立ち下がりでカウント停止信号を、夫々出力することを
特徴とするデジタルヒステリシス回路。
The present invention compares a counted pulse with a gate pulse having a gate period longer than the period of the counted pulse for each period of the gate pulse, and determines the number of pulses of the counted pulse in each gate period. A digital hysteresis circuit for outputting a count stop signal for determining
At the end of the predetermined gate period, the counted pulse becomes HIG.
In the case of the H state, the count stop signal is output at the time when the counted pulse goes to the next LOW state. (2) When the counted pulse is in the LOW state when the predetermined gate period ends, the counted pulse is output. Is compared with the pulse count of the pulse to be counted in the previous gate period, and if the pulse counts match, the count stop signal is synchronized with the end of the predetermined gate period, If not, a digital hysteresis circuit outputs a count stop signal at the falling edge of the next counted pulse.
【請求項2】 被計数パルスはその周期が比較的変動し
ない基準パルスであり、ゲートパルスはその周期が比較
的変動する変動パルスであることを特徴とする請求項1
記載のデジタルヒステリシス回路。
2. A pulse according to claim 1, wherein the counted pulse is a reference pulse whose cycle does not relatively fluctuate, and the gate pulse is a fluctuating pulse whose cycle relatively fluctuates.
Digital hysteresis circuit as described.
【請求項3】 被計数パルスはその周期が比較的変動す
る変動パルスであり、ゲートパルスはその周期が比較的
変動しない基準パルスであることを特徴とする請求項1
記載のデジタルヒステリシス回路。
3. The pulse to be counted is a fluctuating pulse whose cycle relatively fluctuates, and the gate pulse is a reference pulse whose cycle does not fluctuate relatively.
Digital hysteresis circuit as described.
JP34650091A 1991-12-27 1991-12-27 Digital hysteresis circuit Expired - Fee Related JP3180966B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP34650091A JP3180966B2 (en) 1991-12-27 1991-12-27 Digital hysteresis circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP34650091A JP3180966B2 (en) 1991-12-27 1991-12-27 Digital hysteresis circuit

Publications (2)

Publication Number Publication Date
JPH05180662A JPH05180662A (en) 1993-07-23
JP3180966B2 true JP3180966B2 (en) 2001-07-03

Family

ID=18383849

Family Applications (1)

Application Number Title Priority Date Filing Date
JP34650091A Expired - Fee Related JP3180966B2 (en) 1991-12-27 1991-12-27 Digital hysteresis circuit

Country Status (1)

Country Link
JP (1) JP3180966B2 (en)

Also Published As

Publication number Publication date
JPH05180662A (en) 1993-07-23

Similar Documents

Publication Publication Date Title
US4380745A (en) Digitally controlled temperature compensated oscillator system
US5280539A (en) Synchronous circuit for serial input signal
US5506878A (en) Programmable clock having programmable delay and duty cycle based on a user-supplied reference clock
US4407588A (en) Electronic oscillation counting timer
US6084441A (en) Apparatus for and method of processing data
US5525936A (en) Temperature-compensated oscillator circuit
US4297657A (en) Closed loop temperature compensated frequency reference
WO1992012501A1 (en) Apparatus and method for improving the resolution with which a test signal is counted
US4464061A (en) Linearizer circuit and an electronic watch incorporating same
JPH04270570A (en) Digital phase-locked loop circuit
US6304119B1 (en) Timing generating apparatus with self-calibrating capability
JPS62207025A (en) Trigger started oscillator
JP3180966B2 (en) Digital hysteresis circuit
JP3349943B2 (en) Semiconductor device
US11177797B2 (en) Measuring device and measuring method
JP2000341092A (en) Clock signal generating circuit and clock frequency adjustment method
US4068463A (en) Reference signal frequency correction in an electronic timepiece
JP2780613B2 (en) Frequency adjustment method of piezoelectric vibrator
JPH058995B2 (en)
JP3134408B2 (en) Frequency detection circuit
KR950001436B1 (en) Reference pulse generated circuit
JP2729815B2 (en) Power consumption reduction method of digital temperature compensated oscillator
KR930003014B1 (en) Static voltage inverter base signal generating circuit
JPH1155084A (en) Output delay circuit
JPH05264753A (en) Delay time measuring device

Legal Events

Date Code Title Description
FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080420

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20090420

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20090420

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20100420

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees