JP2006245977A - Pulse signal reproducing apparatus - Google Patents
Pulse signal reproducing apparatus Download PDFInfo
- Publication number
- JP2006245977A JP2006245977A JP2005058386A JP2005058386A JP2006245977A JP 2006245977 A JP2006245977 A JP 2006245977A JP 2005058386 A JP2005058386 A JP 2005058386A JP 2005058386 A JP2005058386 A JP 2005058386A JP 2006245977 A JP2006245977 A JP 2006245977A
- Authority
- JP
- Japan
- Prior art keywords
- noise
- signal
- reset
- pulse signal
- counter
- 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
Links
Images
Landscapes
- Manipulation Of Pulses (AREA)
Abstract
Description
本発明は、パルス信号再生装置に関するものである。より詳細には、電気回路において用いられる各種のパルス信号に含まれるノイズ成分を除去する技術に関する。 The present invention relates to a pulse signal reproducing apparatus. More specifically, the present invention relates to a technique for removing noise components contained in various pulse signals used in an electric circuit.
近年、半導体プロセスの微細化に伴い回路動作が高速化した一方、従来あまり問題になることのなかった、入力信号レベルが遷移する際に生じる波形の鈍りやリンギングをパルスとして誤認識してしまう問題が生じている。また、信号レベルの低電圧化に伴い静電気などの外部から混入するノイズによって信号レベルが反転してしまう現象が起き易くなっている。このため、パルス信号に含まれるノイズを除去する技術が必要不可欠となっている。 In recent years, the circuit operation has been speeded up with the miniaturization of semiconductor processes, but the waveform dullness and ringing that occur when the input signal level transitions, which has not been a major problem, are mistakenly recognized as pulses. Has occurred. In addition, as the signal level is lowered, a phenomenon that the signal level is reversed due to externally mixed noise such as static electricity is likely to occur. For this reason, a technique for removing noise contained in the pulse signal is indispensable.
このような波形の鈍りによる回路誤動作を防止する技術としては、シュミットトリガ型バスバッファで鈍った波形を整形する方式が広く知られている。しかし、シュミット電圧を超えるリンギングが入力信号に重畳している場合などには波形整形効果が得られないという問題がある。またこれとは別に、入力信号をクロックで同期化して鈍った波形の電位が確定する時間やリンギングが安定するまでの時間待ってから確定信号レベルとして処理する技術も広く知られている。 As a technique for preventing a circuit malfunction due to such a waveform dullness, a method of shaping a dull waveform with a Schmitt trigger bus buffer is widely known. However, there is a problem that the waveform shaping effect cannot be obtained when ringing exceeding the Schmitt voltage is superimposed on the input signal. In addition to this, a technique of synchronizing the input signal with a clock and waiting for a time when the potential of a dull waveform is fixed or a time until ringing is stabilized before processing as a determined signal level is widely known.
しかしこの場合、入力信号が入力信号とは非同期のクロックで新たにサンプリングし直すため、入力信号が遷移するタイミングに重要な意味がある場合には採用できない、あるいは、サンプリング周波数を高くする必要が生じる結果サンプリング間隔に対して波形の立上り/立下りが鈍り過ぎになる、などという矛盾が生じる。 However, in this case, since the input signal is newly sampled with a clock that is asynchronous with the input signal, it cannot be used if the timing at which the input signal transitions is important, or the sampling frequency must be increased. As a result, a contradiction occurs such that the rising / falling of the waveform becomes too dull with respect to the sampling interval.
また、特許文献1には、プリンタから出力される画像データ転送スタート信号に重畳するノイズによる誤動作を防止することを目的とし、画像データ転送スタート信号を、長さの違う2パルスで検出可能とすることでノイズに対する耐性を高くする仕組みが開示されている。 Japanese Patent Application Laid-Open No. 2004-228688 aims to prevent malfunction caused by noise superimposed on an image data transfer start signal output from a printer, and to detect the image data transfer start signal with two pulses having different lengths. Thus, a mechanism for increasing resistance to noise is disclosed.
また、特許文献2には、2段のRS−FFと除去したいチャタリングノイズ幅に見合った遅延時間を持つ遅延回路とを使用して、クロックの立上りエッジおよび立下りエッジに重畳するチャタリングノイズによる誤動作を防止する仕組みが開示されている。 Patent Document 2 discloses a malfunction caused by chattering noise superimposed on the rising edge and falling edge of a clock using a two-stage RS-FF and a delay circuit having a delay time corresponding to the chattering noise width to be removed. A mechanism for preventing this is disclosed.
しかしながら、特許文献1に記載の仕組みでは、画像データスタート信号を所定時間遅延し、この遅延された画像データスタート信号を遅延前の画像データスタート信号のエッジによりラッチすることで同期信号を生成するので、画像データスタート信号のラッチに使われるエッジにチャタリングなどのノイズがあると、正しい処理ができない。
However, in the mechanism described in
また、特許文献2に記載の仕組みでは、事実上は、入力信号の立上りエッジと立下りエッジの両方を対象にチャタリングノイズを除去するようになっており、その意味ではほぼ完全であると考えられるものの、入力信号の立上りエッジと立下りエッジの片方のみが有効な場合には、回路が冗長になり、過度な補正になる、といった問題がある。 Further, in the mechanism described in Patent Document 2, the chattering noise is practically removed from both the rising edge and the falling edge of the input signal, which is considered to be almost complete in that sense. However, when only one of the rising edge and the falling edge of the input signal is effective, there is a problem that the circuit becomes redundant and excessive correction is performed.
加えて、各エッジの遅延信号をセット入力やリセット入力に使うが、通常、各エッジの遷移特性は異なり、結果として遅延量に差が生じるので、ノイズを確実に除去する上では、事実上、遅延量の大きい方でノイズゲート期間を設定しなければならず、設定の自由度が狭くなる。 In addition, the delay signal of each edge is used for the set input and reset input, but usually the transition characteristics of each edge are different, resulting in a difference in the delay amount. The noise gate period must be set with the larger delay amount, and the degree of freedom of setting becomes narrower.
本発明は、上記事情に鑑みてなされたものであり、上記特許文献1,2が有する問題点を解消しつつ、高精度にノイズを除去できる仕組みを提供することを目的とする。
The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a mechanism that can remove noise with high accuracy while solving the problems of
本発明に係るパルス信号再生装置は、入力パルス信号に含まれるノイズを除去するパルス信号再生装置であって、出力をセットするセット信号が入力されるセット入力端子および出力をリセットするリセット信号が入力されるリセット入力端子を有するフリップフロップ(いわゆるRSフリップフロップ)と、入力パルス信号に含まれるノイズを監視するノイズ監視部とを備えるものとした。 The pulse signal reproducing device according to the present invention is a pulse signal reproducing device for removing noise contained in an input pulse signal, and a set input terminal for inputting a set signal for setting an output and a reset signal for resetting the output are input. A flip-flop having a reset input terminal (so-called RS flip-flop) and a noise monitoring unit that monitors noise included in the input pulse signal are provided.
ここで、入力パルス信号がアサートされたときには、フリップフロップをセットし、この後、ノイズ監視部においてノイズが存在せずにノイズを除去する対象期間(ノイズゲート期間ともいう)経過したときには、フリップフロップをリセットする。 Here, when the input pulse signal is asserted, the flip-flop is set. After that, when the target period (also referred to as a noise gate period) for removing noise has passed without the presence of noise in the noise monitoring unit, the flip-flop is set. To reset.
なお、特許請求の範囲の記載は、フリップフロップにおけるセットおよびリセットの関係の一方の側面からと、論理回路における相補型の一方の極性の観点から規定したものであり、セットとリセットの関係を逆にした構成、あるいは全ての論理を逆にした相補型の構成も、本願発明の範囲であることを宣言しておく。 The claims are defined from one aspect of the relationship between the set and reset in the flip-flop and from the viewpoint of one polarity of the complementary type in the logic circuit. The relationship between the set and reset is reversed. It is also declared that a configuration of the above or a complementary configuration in which all logics are reversed is within the scope of the present invention.
たとえば、入力パルス信号がアサートされたときにリセット信号をリセット入力端子に供給してフリップフロップをリセットし、この後、ノイズ監視部においてノイズが存在せずにノイズ除去対象期間が経過したときにセット信号をセット入力端子に供給してフリップフロップをセットする構成でもよい。 For example, when the input pulse signal is asserted, the reset signal is supplied to the reset input terminal to reset the flip-flop, and then the noise monitoring unit sets when the noise removal target period elapses without any noise. A configuration in which a flip-flop is set by supplying a signal to a set input terminal may be used.
また、たとえば、入力パルス信号がネゲートされたときには、フリップフロップをリセットし、この後、ノイズ監視部においてノイズが存在せずにノイズを除去するノイズゲート期間が経過したときには、フリップフロップをセットするものとしてもよい。 Also, for example, when the input pulse signal is negated, the flip-flop is reset, and after that, when a noise gate period for removing noise has passed without the presence of noise in the noise monitoring unit, the flip-flop is set. It is good.
“入力パルス信号に含まれるノイズを監視するノイズ監視部”とは、入力パルス信号に含まれるノイズによってフリップフロップのセット入力端子やリセット入力端子に交互に誤った信号が入力されないようにするものを意味する。 “Noise monitoring unit that monitors the noise contained in the input pulse signal” means that the wrong signal is not input to the set input terminal or reset input terminal of the flip-flop due to the noise contained in the input pulse signal. means.
たとえば、入力パルス信号に含まれるノイズによってフリップフロップのセット入力端子に誤ったセット信号が順次入力されても、ノイズを除去する対象期間経過までは、リセット入力端子には誤ったリセット信号が入力されるのを禁止する。 For example, even if an incorrect set signal is sequentially input to the set input terminal of the flip-flop due to noise included in the input pulse signal, an incorrect reset signal is input to the reset input terminal until the target period for eliminating noise elapses. Is prohibited.
あるいは、入力パルス信号に含まれるノイズによってフリップフロップのリセット入力端子に誤ったリセット信号が順次入力されても、ノイズを除去する対象期間経過までは、セット入力端子には誤ったセット信号が入力されるのを禁止する。 Or, even if an incorrect reset signal is sequentially input to the reset input terminal of the flip-flop due to noise included in the input pulse signal, the incorrect set signal is input to the set input terminal until the target period for eliminating the noise has elapsed. Is prohibited.
また従属項に記載された発明は、本発明に係るパルス信号再生装置のさらなる有利な具体例を規定する。 The invention described in the dependent claims defines a further advantageous specific example of the pulse signal reproducing device according to the present invention.
本発明によれば、RSフリップフロップと、入力パルス信号に含まれるノイズを監視するノイズ監視部とを設け、入力パルス信号がアサート(あるいはネゲート)されたときにはフリップフロップをセット(あるいはリセット)し、この後に、ノイズが存在せずにノイズ除去対象期間経過したときには、フリップフロップをリセット(あるいはセット)するようにした。 According to the present invention, an RS flip-flop and a noise monitoring unit that monitors noise included in the input pulse signal are provided, and when the input pulse signal is asserted (or negated), the flip-flop is set (or reset), Thereafter, when the noise removal target period has passed without the presence of noise, the flip-flop is reset (or set).
これにより、パルス信号のアサートエッジ(あるいはネゲートエッジ)を起点として、再生パルスのアサートエッジ(あるいはネゲートエッジ)を生成し、ノイズがなくノイズゲート期間以上経過した後に再生パルスのネゲートエッジ(あるいはアサートエッジ)を生成するので、パルス信号のエッジ近傍にノイズが重畳していた場合でも、アサートエッジ(あるいはネゲートエッジ)の発生タイミングを維持しつつ、ノイズを除去したパルス信号を再生することができる。すなわち、再生パルスにおいても、アサートエッジ(あるいはネゲートエッジ)を高精度に保存できる。その結果、パルスを使用する回路の誤動作を防止できる。 As a result, the assertion edge (or negate edge) of the reproduction pulse is generated starting from the assertion edge (or negation edge) of the pulse signal, and the reproduction pulse negate edge (or assertion edge) is passed after the noise gate period has passed without noise. Therefore, even when noise is superimposed in the vicinity of the edge of the pulse signal, it is possible to reproduce the pulse signal from which the noise is removed while maintaining the generation timing of the assert edge (or negate edge). That is, even in the reproduction pulse, the assert edge (or negate edge) can be stored with high accuracy. As a result, it is possible to prevent malfunction of a circuit using pulses.
また、アサートエッジ(あるいはネゲートエッジ)に着目して処理するので、特許文献2に記載の仕組みとは異なり、入力信号の立上りエッジと立下りエッジの一方のみに着目した構成とすることができ、各エッジの遷移特性が異なることに起因した遅延量差によるノイズゲート期間の設定自由度の問題や、入力信号の立上りエッジと立下りエッジの片方のみが有効な場合に回路が冗長になる、過度な補正になるといった特許文献2に記載の仕組みが持つ問題を解消することができる。もちろん、両エッジが有効な場合には、それぞれをアサートエッジとした処理をすれば対処できる。 In addition, since processing is performed by paying attention to the assert edge (or negate edge), unlike the mechanism described in Patent Document 2, it can be configured to focus only on one of the rising edge and falling edge of the input signal, Problems with the degree of freedom in setting the noise gate period due to the difference in delay due to the transition characteristics of each edge, or the circuit becomes redundant when only one of the rising edge and falling edge of the input signal is valid. It is possible to solve the problem of the mechanism described in Japanese Patent Laid-Open No. 2004-26853, such as a simple correction. Of course, when both edges are valid, it can be dealt with by processing each of them as an assert edge.
以下、図面を参照して本発明の実施形態について詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
本実施形態においては、入力されたノイズ成分を含む、エッジに意味を持ちレベルは基本的には意味を持たない周期的なパルス信号(以下周期パルスという)を、高精度に再生することを目的として、RS(リセット/セット)−FF(フリップフロップ)と、周期パルスとは非同期のクロック信号を生成するクロック信号生成部と、生成されたクロック信号に同期して動作するカウンタとでパルス信号再生装置を構成する。 The purpose of this embodiment is to reproduce with high accuracy a periodic pulse signal (hereinafter referred to as a periodic pulse) that includes an input noise component and has a meaning at an edge and a level that is basically meaningless. As described above, RS (reset / set) -FF (flip-flop), a clock signal generator that generates a clock signal that is asynchronous with the periodic pulse, and a counter that operates in synchronization with the generated clock signal Configure the device.
再生されるパルス信号のアクティブ期間の終縁タイミングを規定するカウンタの構成としては、ダウンカウンタを利用してもよいし、アップカウンタを利用してもよい。 As a configuration of the counter that defines the end timing of the active period of the reproduced pulse signal, a down counter may be used or an up counter may be used.
そして、入力された周期パルスのアサート(アクティブ)エッジでRS−FFをセットし、RS−FFのリセットタイミングをカウンタで作成することとする。 Then, RS-FF is set at the asserted (active) edge of the input periodic pulse, and the reset timing of RS-FF is created by a counter.
以下、アップカウンタを利用した場合と、ダウンカウンタを利用した場合のそれぞれについて具体的に説明する。 Hereinafter, each of the case where the up counter is used and the case where the down counter is used will be described in detail.
リセット/セットは、処理対象のパルス信号のアサートエッジが立下りエッジであるのか、逆にアサートエッジが立上りエッジであるのかに応じても異なる。 The reset / set differs depending on whether the assert edge of the pulse signal to be processed is a falling edge, or conversely, the assert edge is a rising edge.
本実施形態においては、プリンタエンジンから出力される同期信号を、高精度に再生することを目的として、RS(リセット/セット)−FF(フリップフロップ)と同期信号とは非同期のクロック信号生成部と、生成されたクロックに同期して動作するカウンタとで同期信号再生部を構成する。カウンタの構成としては、アップカウンタを利用してもよいし、ダウンカウンタを利用してもよい。以下、ダウンカウンタを利用した場合と、アップカウンタを利用した場合のそれぞれについて具体的に説明する。 In the present embodiment, for the purpose of reproducing the synchronization signal output from the printer engine with high accuracy, the RS (reset / set) -FF (flip-flop) and the synchronization signal are asynchronous with each other. The counter that operates in synchronization with the generated clock constitutes a synchronization signal reproducing unit. As the configuration of the counter, an up counter or a down counter may be used. Hereinafter, each of the case where the down counter is used and the case where the up counter is used will be described in detail.
なお、以下の説明において、パルス信号がアクティブLのときには信号名の最初に“N”を付して示す。同様に、ゲートやFFなどのアクティブLの入力端子についても、端子名の最初に“N”を付して示す。 In the following description, when the pulse signal is active L, “N” is added to the beginning of the signal name. Similarly, for active L input terminals such as gates and FFs, “N” is added to the beginning of the terminal name.
また、以下の説明においては、処理対象の周期パルスとして、プリンタエンジンから出力されるアクティブLの同期信号(たとえば画像データ転送スタート信号)で、HレベルからLレベルに遷移するタイミングにのみ意味のある、すなわちアサートエッジが立下りエッジである同期信号を例に説明する。この場合、入力された同期信号NSYNCin のアサートエッジでRS−FFをセット(非反転出力をHレベルに)し、RS−FFのリセットタイミングをカウンタで作成する。 Further, in the following description, an active L synchronization signal (for example, an image data transfer start signal) output from the printer engine as a periodic pulse to be processed is meaningful only at the timing of transition from H level to L level. That is, a synchronization signal whose assert edge is a falling edge will be described as an example. In this case, the RS-FF is set (the non-inverted output is set to H level) at the asserted edge of the input synchronization signal NSYNCin, and the reset timing of the RS-FF is created by the counter.
<第1実施形態;ダウンカウンタ;構成>
図1は、第1実施形態のパルス信号再生装置1を説明する図である。ここで、図1(A)は、第1実施形態のパルス信号再生装置1の構成を示す回路ブロック図であり、図1(B)は、ロードされる(ノイズゲート期間を設定するための)データの与え方を説明する図である。
<First Embodiment; Down Counter; Configuration>
FIG. 1 is a diagram illustrating a pulse
この第1実施形態は、アクティブ期間の開始時や終了時の近傍に存在するノイズを監視するゲート期間、特に終縁タイミングを規定するカウンタとしてダウンカウンタを利用し、カウント動作の周縁タイミング(本例ではバローパルスが出力されるまで)を調整することによりノイズを監視するためのノイズゲート期間の設定幅を調整するように構成する点に特徴を有する。また、ダウンカウンタのダウンカウント停止タイミングを“0”とする点に特徴を有する。また、RS−FFとしてセット優先型のものを使用する点に特徴を有する。 The first embodiment uses a down counter as a gate period for monitoring noise existing in the vicinity of the start and end of the active period, in particular, a counter that defines the end timing, and the peripheral timing of the count operation (this example) In this case, the setting range of the noise gate period for monitoring the noise is adjusted by adjusting (until the barrow pulse is output). Further, the down counter stop timing of the down counter is set to “0”. Further, the present invention is characterized in that a set priority type RS-FF is used.
図1(A)に示すように、第1実施形態のパルス信号再生装置1は、セット優先型のRS−FF10と、入力されたノイズ成分を含む再生処理対象の同期信号NSYNCin (信号B)を論理反転して、RS−FF10のセット端子Sに同期信号SYNCin (信号H)をセット信号として供給するインバータ12と、RS−FF10のリセット端子Rにリセット信号(信号G)を供給するリセット信号生成部20を備えている。リセット信号生成部20は、入力パルス信号に含まれるノイズを監視するノイズ監視部として機能するものである。
As shown in FIG. 1A, the pulse
リセット信号生成部20は、電源オン時の初期リセット信号(以下パワーオンリセット信号NPRST ともいう;信号A)と、入力されたノイズ成分を含む再生処理対象の同期信号NSYNCin とに基づきボローパルスBorrow(信号G)を生成するボローパルス生成部200を有している。
The
ボローパルス生成部200は、入力されるクロック信号CLK をダウンカウントするダウンカウンタ208と、ダウンカウンタ208のデータ端子Dataに初期値を設定するカウント値設定部209とを有している。
The borrow pulse generation unit 200 includes a
ダウンカウンタ208は、クロック端子CKに所定のクロック信号CLK が入力され、データ端子Dataにノイズゲート期間を規定する所定のデータがカウント値設定部209によりセットされ、リセット端子NResetにパワーオンリセット信号NPRST (信号A)が供給され、ロード端子NLoad に再生処理対象の同期信号NSYNCin (信号B)が供給されるようになっている。
In the
このような構成においては、カウント値設定部209によりノイズゲート期間を規定するデータを設定し、この設定されたデータからカウント動作を開始しボローパルスBorrow(信号G)が出力されるまでの期間をノイズを監視するためのノイズゲート期間の設定幅とする。よって、カウント値設定部209により与えるデータ値を調整すれば、ノイズゲート期間の設定幅を調整することができる。
In such a configuration, data defining the noise gate period is set by the count
なお図示を割愛するが、パワーオンリセット信号NPRST (信号A)や同期信号NSYNCin (信号B)は、必要に応じて、シュミットトリガバッファを介して各入力端子に供給するようにしてもよい。 Although not shown, the power-on reset signal NPRST (signal A) and the synchronization signal NSYNCin (signal B) may be supplied to each input terminal via a Schmitt trigger buffer as necessary.
カウント値設定部209としては、CPUやフィードバック回路などによって、可変値を設定させる方法や、ディップスイッチなどによって、工場出荷時やユーザによる手動によって、半固定値を設定する方法、あるいは、抵抗によって固定値を設定する方法など、様々な構成を採用することができる。
As the count
ダウンカウンタ208は、同期信号NSYNCin とは非同期のクロック信号CLK によって動作し、パワーオン時にはパワーオンリセット信号NPRST (信号A)によってカウンタ値を初期値“0”にクリアしてボローパルスBorrowを出力する。また同期信号NSYNCin がアクティブ期間(本例ではLレベル)のときに、データ端子Dataのデータ値をカウンタ値としてロードする。
The
また、ダウンカウンタ208は、基本的には、同期信号NSYNCin がアサートされると計測すべき時間を設定するべく所定のデータDdをロードし、同期信号NSYNCin がネゲートされインアクティブ(Hレベル)の間、カウント値が“0”になるまでダウンカウントする。そして、カウント値が“0”になったらカウント動作を停止すると同時に、カウント値が“0”の間はRS−FF10をリセットするための信号として使われるボローパルスBorrowを出力する。
The down counter 208 basically loads predetermined data Dd to set the time to be measured when the synchronization signal NSYNCin is asserted, and the synchronization signal NSYNCin is negated and inactive (H level). The count down is performed until the count value becomes “0”. When the count value becomes “0”, the count operation is stopped, and at the same time, while the count value is “0”, a borrow pulse Borrow used as a signal for resetting the RS-
こうすることで、パルス信号再生装置1は、再生対象のパルス信号(ここでは同期信号NSYNCin )のアクティブ期間の終了時の近傍に存在するノイズを監視するためのノイズゲート期間を設定し、再生対象のパルス信号がネゲートされてからノイズの有無の監視を開始する。そして、この設定された期間内のネゲートレベルに存在するノイズが再生パルス(ここでは同期信号NSYNCout)に含まれないように、ネゲートエッジ近傍に関してノイズ除去処理を行なう。
By doing so, the pulse
また、この設定により、自動的に、アクティブ期間の開始時の近傍に存在するノイズを監視するためのノイズゲート期間も設定され、再生対象のパルス信号がアサートされてからノイズの有無の監視を開始する。そして、この設定された期間内のアサートレベルに存在するノイズが再生パルス(ここでは同期信号NSYNCout)に含まれないように、アサートエッジ近傍に関してノイズ除去処理を行なう。 This setting also automatically sets the noise gate period to monitor the noise that exists in the vicinity of the start of the active period, and starts monitoring the presence or absence of noise after the pulse signal to be played is asserted. To do. Then, noise removal processing is performed in the vicinity of the assert edge so that noise existing at the assert level within the set period is not included in the reproduction pulse (here, the synchronization signal NSYNCout).
ここで、ダウンカウンタ208がダウンカウトする時間が、同期信号NSYNCin の立下りエッジおよび立上りエッジに含まれるノイズが収束するのに十分な時間であるように、カウント値設定部209は、ノイズゲート期間を規定するデータ値(以下ノイズゲートデータDdともいう)を設定することとする。
Here, the count
RS−FF10のセット入力端子Sにはインバータ222で論理反転された同期信号SYNCin(信号H)が入力され、リセット端子Rにはダウンカウンタ208のボロー端子Borrowから出力されるボローパルスBorrow(信号G)が入力される。RS−FF10の反転出力端子NQから出力されたパルス(信号E)が、ノイズ成分が除去された同期信号NSYNCoutとして使用されるようになっている。
The set input terminal S of the RS-
<第1実施形態;ダウンカウンタ;動作>
図2は、図1に示した第1実施形態のパルス信号再生装置1の動作を説明する真理値表(A)と状態遷移図(B)である。ここで図2(A)はRS−FF10についての真理値表であり、また図2(B)はダウンカウンタ208の動作シーケンスを示す状態遷移図である。
<First Embodiment; Down Counter; Operation>
FIG. 2 is a truth table (A) and a state transition diagram (B) for explaining the operation of the pulse
また、図3は、図1に示した第1実施形態のパルス信号再生装置1の動作を説明するタイミングチャートである。なお、各種の論理回路には、各々出力値が確定するまでの時間に差があるが、ここでは、便宜上、ダウンカウンタ208よりもRS−FF10の方が出力遅延は短い、と言う前提で説明する。
FIG. 3 is a timing chart for explaining the operation of the pulse
先ず、RS−FF10は、図2(A)に示すように、セット優先型のRS−FFとなっている(その意義については後述する)。たとえば、セット端子Sおよびリセット端子Rの何れにもLレベルが入力されると、その非反転出力端子Qおよび反転出力端子NQは直前の出力値を保持する。また、リセット端子RがLレベルのときにセット端子SにHレベルが入力されると、その非反転出力端子QをHレベルに、反転出力端子NQをLレベルに、それぞれセットする。また、セット端子SがLレベルのときにリセット端子RにHレベルが入力されると、その非反転出力端子QをLレベルに、反転出力端子NQをHレベルに、それぞれリセットする。また、セット端子Sおよびリセット端子Rの何れにもHレベルが入力されると、セット優先型であるため、その非反転出力端子QをHレベルに、反転出力端子NQをLレベルに、それぞれセットする。
First, as shown in FIG. 2A, the RS-
パルス信号再生装置1は、パワーオンリセット信号NPRST がHレベルになってから正常動作を開始するようになっている。たとえば、初期状態では、ダウンカウンタ208のカウント値は不定であり、クロック入力によってカウンタが動作してしまい、ボロー端子Borrowの出力値も不定となってしまう。
The pulse
ここで、同期信号NSYNCin がHレベルにあるときにパワーオンリセット信号NPRST がLレベルになると(t10より前)、RS−FF10のセット端子SはLレベル、ダウンカウンタ208のリセット端子NResetはLレベルとなり、ダウンカウンタ208はリセットされた(図2(B)のカウント停止の)状態となり、ダウンカウンタ208のカウント値が“0”となり、またボローパルスBorrowが出力される。これにより、RS−FF10のリセット端子RはHレベルとなり、RS−FF10がリセットされ、RS−FF10はリセット状態、すなわち非反転出力端子QはLレベルに、反転出力端子NQはHレベルになる。それ以前に、RS−FF10がリセットされた状態にあれば、その状態を維持する。
Here, when the power-on reset signal NPRST becomes L level when the synchronization signal NSYNCin is at H level (before t10), the set terminal S of the RS-
また、同期信号NSYNCin がHレベルにあるときにパワーオンリセット信号NPRST がHレベルに戻ると(t10)、RS−FF10のセット端子SはLレベル、ダウンカウンタ208のカウント値は“0”のままなのでリセットされた(図2(B)のカウント停止の)状態を維持し、ダウンカウンタ208からはボローパルスBorrowが出力され続ける結果、RS−FF10のリセット端子RはHレベルを維持するため、RS−FF10はリセット状態を維持する。
If the power-on reset signal NPRST returns to H level when the synchronization signal NSYNCin is at H level (t10), the set terminal S of the RS-
次に、アクティブローの同期信号NSYNCin の立下りの遷移期間について説明する。先ず、パワーオンリセット信号NPRST がHレベルのときに(t10以降)、同期信号NSYNCin がLレベルに遷移すると(t15)、その立下りエッジがインバータ12で反転され、立上りエッジがRS−FF10のセット端子Sに入力され、セット端子SがHレベルに設定される。
Next, the falling transition period of the active-low synchronization signal NSYNCin will be described. First, when the power-on reset signal NPRST is at the H level (after t10), when the synchronization signal NSYNCin transitions to the L level (t15), the falling edge is inverted by the
このとき、RS−FF10のリット端子Rに供給されているボローパルスBorrowがHレベルにあるので、優先性が規定されていない通常のRS−FFであれば出力が不定となるが、本実施形態では、セット優先型のRS−FF10にしているので、RS−FF10はセットされ、非反転出力端子QはHレベルに、反転出力端子NQはLレベルになる(t16)。
At this time, since the borrow pulse Borrow supplied to the lit terminal R of the RS-
これにより、同期信号NSYNCoutのアサートエッジが生成される。つまり、同期信号SYNCinをRS−FF10のセット端子Sに入力し、同期信号NSYNCinがRS−FF10の入力スレッショルド電圧を超えたときに、RS−FF10の非反転出力QをHレベルとする。自動的に、対応するRS−FF10の反転出力NQはLレベルになる。
As a result, an assert edge of the synchronization signal NSYNCout is generated. That is, when the synchronization signal SYNCin is input to the set terminal S of the RS-
また、同期信号NSYNCin がLレベルに遷移することで(t15)、ダウンカウンタ208のロード端子NLoad がLレベルとなるので、ダウンカウンタ208は、データ端子Dataに供給されるノイズゲートデータDdをロードする(図2(B)のカウント値ロードの)状態となる。これにより、ボローパルスBorrow(信号G)がLレベルに遷移し、これがRS−FF10のリセット端子Rに供給される(t17)。このとき、RS−FF10のセット端子SはHレベルにあるので、セット状態を維持し続ける。
Further, since the load signal NLoad of the
同期信号NSYNCin がLレベルの間は、ダウンカウンタ208は、データ端子Dataに供給されるノイズゲートデータDdをロードし続けた(図2(B)のカウント値ロードの)状態を維持する。RS−FF10もセット状態を維持する。
While the synchronization signal NSYNCin is at the L level, the
次に、同期信号NSYNCin にノイズ(特にその立下りエッジ近傍で発生するチャタリングノイズ)が含まれていて、本来のLレベル期間を維持せずに同期信号NSYNCin がHレベルになると(t20)、ダウンカウンタ208は、ノイズゲートデータDdからダウンカウント動作を開始する(t22;図2(B)のCount Down State)。
Next, when the synchronization signal NSYNCin includes noise (particularly chattering noise generated near its falling edge) and the synchronization signal NSYNCin becomes H level without maintaining the original L level period (t20), the synchronization signal NSYNCin is down. The
ここで、ダウンカウンタ208のカウント値が“0”となる以前に、同期信号NSYNCin が本来のLレベルに戻ると(t30)、RS−FF10のセット端子SにHレベルが供給されセットしようとするが、ダウンカウンタ208のロード端子Nload がLレベルであるので、データ端子Dataに供給されるノイズゲートデータDdを再度ロードする(t32;図2(B)のカウント値ロード)。
Here, when the synchronization signal NSYNCin returns to the original L level before the count value of the
これにより、ダウンカウンタ208はボローパルスBorrowを出力しなくなり、LレベルをRS−FF10のリセット端子Rに供給するので、RS−FF10は、セット端子SがHレベル、リセット端子RがLレベルとなり、セットされた状態となるが、それ以前はセット端子Sおよびリセット端子RがLレベルの変化なしの状態であり、事実上は、さらにそれ以前のセットされた状態を維持し、何らの変化が起きない。
As a result, the
また、同期信号NSYNCin に次のノイズが含まれていて、ダウンカウンタ208のカウント値が“0”になる前にHレベル→Lレベルを繰り返す場合にも、上述したt20〜t32と同様の動作を繰り返す。
Also, when the synchronization signal NSYNCin includes the following noise and the H level → L level is repeated before the count value of the
アクティブローのパルス信号を取り扱っているので、アクティブ期間の開始時に存在するノイズ成分のHレベル(ネゲートレベル)期間が、後述する、アクティブロー期間の終了時の近傍に存在するノイズを監視するためのノイズゲート期間の設定幅より長くなることは殆ど考えられない。よって、再生対象のパルス信号(ここでは同期信号NSYNCin )のアクティブ期間の開始時の近傍に存在するノイズを確実に除去することができる。 Since the active low pulse signal is handled, the H level (negate level) period of the noise component existing at the start of the active period is for monitoring the noise existing near the end of the active low period, which will be described later. It is almost impossible to become longer than the set width of the noise gate period. Therefore, it is possible to reliably remove noise existing in the vicinity of the start of the active period of the pulse signal to be reproduced (here, the synchronization signal NSYNCin).
次に、アクティブローの同期信号NSYNCin の立上りの遷移期間について説明する。同期信号NSYNCin の本来のLレベル期間(アサートレベル期間)がほぼ経過し、同期信号NSYNCin がHレベルになるときに、同期信号NSYNCin にノイズ(特にその立上りエッジ近傍で発生するチャタリングノイズ)が含まれていて(t35〜t47)、ダウンカウンタ208のカウント値が“0”になる前にHレベル→Lレベルを繰り返す場合にも、上述したt20〜t32と同様の動作を繰り返す。
Next, the rising transition period of the active-low synchronization signal NSYNCin will be described. When the original L level period (assertion level period) of the synchronization signal NSYNCin has almost passed and the synchronization signal NSYNCin becomes H level, the synchronization signal NSYNCin contains noise (particularly chattering noise generated near its rising edge). (T35 to t47), and when the H level → L level is repeated before the count value of the
この後、同期信号NSYNCin のHレベルが安定して継続し、ダウンカウンタ208のカウント値が“0”になると(t50)、ダウンカウンタ208は、カウント動作を停止すると同時に、ボローパルスBorrowを出力するので、RS−FF10は、セット端子SがLレベルの状態でリセット端子RにHレベルが入力され、その非反転出力端子QはLレベルに、反転出力端子NQはHレベルにリセットされる(t51)。これにより、同期信号NSYNCoutのネゲートエッジが生成される。
Thereafter, when the H level of the synchronization signal NSYNCin continues stably and the count value of the
RS−FF10がリセットされた後、新たに同期信号NSYNCinがLレベルに遷移すると、上述したt15〜t51と同様な動作を繰り返す。
When the synchronization signal NSYNCin newly shifts to the L level after the RS-
これにより、RS−FF10の反転出力端子NQには、t16〜t51のアクティブ期間(本例ではLレベル期間)を有する同期信号NSYNCoutが出力される。アクティブローのパルス信号を取り扱っているので、アクティブ期間の終了時に存在するノイズ成分のHレベル期間は、ノイズ成分ではない本来のインアクティブ期間のHレベルと同じになる。 As a result, the synchronization signal NSYNCout having an active period from t16 to t51 (L level period in this example) is output to the inverting output terminal NQ of the RS-FF10. Since active low pulse signals are handled, the H level period of the noise component present at the end of the active period is the same as the H level of the original inactive period that is not a noise component.
しかしながら、アクティブロー期間の終了時の近傍に存在するノイズを監視するためのノイズゲート期間(本例ではt45〜t50)の設定幅を想定されるノイズ成分のHレベル期間よりもある程度長く設定することで、ノイズ成分のHレベル期間が同期信号NSYNCoutに現われないようにすることができ、再生対象のパルス信号(ここでは同期信号NSYNCin )のアクティブ期間の終了時の近傍に存在するノイズを確実に除去することができる。 However, the set width of the noise gate period (t45 to t50 in this example) for monitoring the noise existing near the end of the active low period is set to be somewhat longer than the assumed H level period of the noise component. Thus, the H level period of the noise component can be prevented from appearing in the synchronization signal NSYNCout, and the noise present near the end of the active period of the pulse signal to be reproduced (here, the synchronization signal NSYNCin) is surely removed. can do.
なお、t16〜t51の期間幅は、同期信号NSYNCin のネゲートエッジ(上記例では立上りエッジ)近傍に存在するパルスノイズの数によって影響を受けるが、アサートエッジ(上記例では立下りエッジ)を規定するt16は、同期信号NSYNCin のアサートエッジ(上記例では立下りエッジ)t15と1対1のものであるので、同期信号NSYNCin が持つアサートエッジの繰返周期を同期信号NSYNCoutにおいても維持することができる。 The period width from t16 to t51 is influenced by the number of pulse noises present near the negated edge (rising edge in the above example) of the synchronization signal NSYNCin, but defines the assert edge (falling edge in the above example). Since t16 is one-to-one with the assertion edge (falling edge in the above example) t15 of the synchronization signal NSYNCin, the repetition cycle of the assertion edge of the synchronization signal NSYNCin can be maintained in the synchronization signal NSYNCout. .
よって、HレベルからLレベルに遷移するタイミングにのみ意味のある、アサートエッジが立下りエッジであるパルス信号にノイズが含まれている場合でも、その周期性を維持して再生することができる。すなわち、入力された周期パルスの波形の変わり初めで出力パルスの波形が変化し、周期パルスの位相、周波数、およびデューティを変えることなく、入力された周期パルスからノイズを除去することができる。 Therefore, even when noise is included in a pulse signal whose assert edge is a falling edge, which is meaningful only at the timing of transition from the H level to the L level, it can be reproduced while maintaining its periodicity. That is, the waveform of the output pulse changes at the beginning of the change of the waveform of the input periodic pulse, and noise can be removed from the input periodic pulse without changing the phase, frequency, and duty of the periodic pulse.
なお、上記説明では、アサートエッジが立下りエッジである周期パルスを処理対象としたが、ノイズゲート期間が許す範囲で、すなわち、第1のアサートエッジとそれに続く第2のアサートエッジとの間隔がノイズゲート期間以上あれば、上述したノイズ除去効果を享受することができ、周期性のない非周期パルスを処理対象とすることもできる。 In the above description, the periodic pulse whose assertion edge is the falling edge is processed, but within the range allowed by the noise gate period, that is, the interval between the first assertion edge and the second assertion edge that follows it is set. If it is longer than the noise gate period, the above-described noise removal effect can be enjoyed, and non-periodic pulses having no periodicity can be processed.
以上説明したように、第1実施形態のパルス信号再生装置1によれば、パルス信号(上記例では同期信号NSYNCin )のアサートエッジを起点として、セット信号をセット優先型のRS−FF10のセット入力端子Sに供給してセットすることで再生パルスのアサートエッジを生成し、アクティブ(アサート)期間後のインアクティブ(ネゲート)期間がノイズゲート期間以上経過した後に、リセット信号をセット優先型のRS−FF10のリセット入力端子Rに供給してリセットすることで再生パルスのネゲートエッジを生成するようにした。
As described above, according to the pulse
これにより、パルス信号にノイズが重畳していた場合でも、アサートエッジの発生タイミング(周期パルスの場合には繰返周期)を維持しつつノイズを除去したパルス信号を再生することができる。その結果、同期信号NSYNCoutを使用する回路の誤動作を防止できる。たとえば、画像データ転送スタート信号にノイズが載っていても、ノイズに影響されずに正確に同期信号を生成することができ、この同期信号を使用するその他の回路の誤動作を防止することができる。 Thereby, even when noise is superimposed on the pulse signal, it is possible to reproduce the pulse signal from which noise has been removed while maintaining the assertion edge generation timing (repetition period in the case of a periodic pulse). As a result, malfunction of the circuit using the synchronization signal NSYNCout can be prevented. For example, even if noise is included in the image data transfer start signal, a synchronization signal can be accurately generated without being affected by the noise, and malfunction of other circuits using the synchronization signal can be prevented.
また、カウンタを利用してノイズ除去対象期間の経過を計測するようにしたので、非常に簡単な構成でパルス信号に含まれるノイズの有無を監視することができる利点がある。 Further, since the progress of the noise removal target period is measured using a counter, there is an advantage that the presence or absence of noise included in the pulse signal can be monitored with a very simple configuration.
また、RS−FFのセット入力とリセット入力とを制御してパルス信号を再生するようにしたので、非常に簡単な構成でパルス信号に含まれるノイズを除去できる利点がある。 In addition, since the pulse signal is reproduced by controlling the set input and the reset input of the RS-FF, there is an advantage that noise included in the pulse signal can be removed with a very simple configuration.
また、このようなノイズ除去機能を持ったパルス信号再生装置1を、論理回路のみで簡便に実現することができる。よって、ASIC(Application Specific IC :特定用途向け集積回路)などへの組み込みが容易である。
Further, the pulse
また、ダウンカウンタ208のデータ端子Dataを利用してノイズ除去対象期間を設定するカウント値設定部209を設けたので、ノイズゲート期間を、ダウンカウンタ208のデータ端子Dataにセットする値により簡単に調整することができる。よって、入力されたパルスのチャタリングノイズを除去する時間を状況に応じて設定、変更することができるので、パルスの周波数に左右されずにノイズ除去を実現でき、あらゆるシステムに容易に適用できる。
Also, since the count
さらに、ダウンカウンタ208を用いると、ノイズゲート期間を規定するデータ値の与え方が、ユーザにとって取り扱い易い利点がある。何故なら、図1(B)に示すように、ダウンカウンタ208を用いた場合のノイズゲート期間Tnは、ダウンカウンタ208のデータ端子Dataにセットされたデータ値Ddからカウンタ値が“0”となるまでの期間であり、これはデータ値Ddにカウントクロックの1周期T0を掛けた値に等しいからである。
Further, when the
すなわち、ダウンカウンタ208を用いてボローパルスBorrowが出力されるまでを利用してノイズゲート期間を設定する場合、ユーザは、ノイズゲート期間Tnをカウントクロックの1周期T0で割った値Ddをそのままダウンカウンタ208のデータ端子Dataにセットすればよい。
That is, when the noise gate period is set by using the
<第1実施形態;RS−FFについて>
図4は、上述した第1実施形態の基本形において、RS−FF10をセット優先型のRS−FFとしたことの意義を説明する図である。もちろん、アサートエッジは立下りエッジである。
<First Embodiment; About RS-FF>
FIG. 4 is a diagram for explaining the significance of replacing the RS-
セット優先型のRS−FFとすることと関わりを持つのは、アクティブローの同期信号NSYNCin の立下りの遷移期間である。先ず、ダウンカウンタ208は、カウント値が“0”となるとカウント動作を停止するとともにボローパルスBorrowを出力する、すなわち信号GをHレベルにする(t50)。これとほぼ同時に、RS−FF10がリセットされ、そのRS−FF10の反転出力端子NQがHレベルに遷移する(t51)。カウント値が“0”の状態でカウント動作を停止するので、ボローパルスBorrowが出力され続け信号GはHレベルを維持する。
It is the transition period at the fall of the active-low synchronization signal NSYNCin that is related to the setting priority RS-FF. First, when the count value becomes “0”, the
次の立下りの遷移期間に戻ると、同期信号NSYNCin がアサートされ(t15)、ダウンカウンタ208のロード端子NLoadがLレベルとなり、ノイズゲートデータDdがダウンカウンタ208にロードされ、これによってボローパルスBorrow(信号G)がネゲートされる(Lレベルになる)(t16)。この場合、同期信号NSYNCin がアサートされた後(t15)、ボローパルスBorrowがネゲートされLレベルになる(t16)までの間は、RS−FF10は、セット端子Sとリセット端子Rがともにアサートされた状態となる。
When returning to the next falling transition period, the synchronization signal NSYNCin is asserted (t15), the load terminal NLoad of the
ここで、処理対象の入力される同期信号NSYNCin は、アサートエッジが立下りエッジである、すなわち同期信号NSYNCin は立下りエッジに意味があるので、同期信号NSYNCoutのアサートエッジ(本例では立下りエッジ)を規定するタイミングは、同期信号NSYNCin のアサートエッジ(本例では立下りエッジ)と1対1のものである必要がある。 Here, the synchronization signal NSYNCin to be processed has an assert edge that is a falling edge, that is, the synchronization signal NSYNCin has a meaning as a falling edge. Therefore, an assert edge of the synchronization signal NSYNCout (a falling edge in this example) ) Must be one-to-one with the assertion edge (falling edge in this example) of the synchronization signal NSYNCin.
加えて、同期信号NSYNCoutのアサートエッジの発生タイミングは、できるだけ同期信号NSYNCin のアサートエッジの発生タイミングと同じである、つまり、同期信号NSYNCin のアサートとほぼ同時に、同期信号NSYNCoutもアサートされることが望まれる。 In addition, the timing at which the synchronization signal NSYNCout is asserted is as similar as possible to the timing at which the synchronization signal NSYNCin is asserted. It is.
何故なら、装置における全ての制御が、同期信号NSYNCin を基準にしてなされるのであれば、同期信号NSYNCin と同期信号NSYNCoutの各アサートエッジの発生タイミングに時間差があっても問題は生じないが、多くのケースではそのようなことは希であり、同期信号NSYNCin とは異なるパルスを基準にして制御がなされるもの(以下、これらを異種パルス群という)もある。この場合、これらの異種パルス群と同期信号NSYNCoutとの間に時間差が生じると、パルス信号再生装置1を搭載した対象装置全体としては、正常な動作を保証することができなくなる。
This is because if all control in the device is performed based on the synchronization signal NSYNCin, there will be no problem even if there is a time difference between the timings of the assertion edges of the synchronization signal NSYNCin and the synchronization signal NSYNCout. In such a case, such a case is rare, and there are also cases where control is performed on the basis of a pulse different from the synchronization signal NSYNCin (hereinafter referred to as a heterogeneous pulse group). In this case, if a time difference occurs between these different kinds of pulse groups and the synchronization signal NSYNCout, normal operation cannot be guaranteed for the entire target device equipped with the pulse
よって、同期信号NSYNCin のアサートエッジ(本例では立下りエッジ)が発生すると直ちに同期信号NSYNCoutを立ち下げることが望まれ、このためには、RS−FF10の反転出力端子NQが直ちにLレベルとなるようにRS−FF10をセットすることが望まれ、RS−FF10はセット優先型とするべきである。
Therefore, it is desirable to immediately drop the synchronization signal NSYNCout when the assertion edge (falling edge in this example) of the synchronization signal NSYNCin occurs. For this purpose, the inverted output terminal NQ of the RS-
すなわち、RS−FF10のリット端子RにボローパルスBorrowのHレベルが供給されている状態で、同期信号SYNCinをRS−FF10のセット端子Sに入力し(t15)することで、直ちに、RS−FF10をセット状態にし、RS−FF10の非反転出力QをHレベルとする(t16a)。
That is, in a state in which the H level of the borrow pulse Borrow is supplied to the lit terminal R of the RS-
これにより、同期信号NSYNCin と同期信号NSYNCoutの各アサートエッジの発生タイミングの時間差を小さくすることができる。なお、この場合でも、図からも分かるように、ゲート遅延などにより、同期信号NSYNCin のアサートエッジの発生タイミング(t15)との間には、僅かな時間差Δta(=t16a−t15)を持つ。 As a result, the time difference between the timings at which the assertion edges of the synchronization signal NSYNCin and the synchronization signal NSYNCout are generated can be reduced. Even in this case, as can be seen from the figure, there is a slight time difference Δta (= t16a−t15) between the timing of generation of the assertion edge of the synchronization signal NSYNCin (t15) due to gate delay or the like.
一方、RS−FF10をリセット優先型とすると、ボローパルスBorrowがHレベルの間はRS−FF10の反転出力端子NQがHレベルとなり、ボローパルスBorrowがLレベルに遷移(t17)したことをもって、RS−FF10はセット状態になるので(t16b)、同期信号SYNCinがアサートされてから(t15)、RS−FF10の反転出力端子NQがLレベルとなる(t16b)のに、大きな時間差Δtb(=t16b−t15)が生じてしまう。セット優先型との間に、大きな時間差Δ(=t16b−t16a)が生る。
On the other hand, when the RS-
<セット優先型のRS−FFの問題点>
図5および図6は、セット優先型のRS−FF10を使用する場合の問題点を説明する図である。上記説明では、セット優先型のRS−FF10を使用することで、同期信号NSYNCin と同期信号NSYNCoutの各アサートエッジの発生タイミングの時間差を小さくすることができる旨を説明したが、実際にセット優先型のRS−FF10を作り込む場合には様々な問題が生じる。
<Problems of set priority type RS-FF>
FIG. 5 and FIG. 6 are diagrams for explaining problems when the set-priority RS-
たとえば、図5(A)に示す回路図のように、優先性のない通常の(以下“通常型の”という)RS−FF11を使用しつつ、そのセット入力端子Sとリセット入力端子Rに同時にHレベルが入力されることのないようにする(詳しくはセット信号側を優先的にする)優先化回路30を設けることが考えられる。
For example, as shown in the circuit diagram of FIG. 5A, a normal (hereinafter referred to as “normal type”) RS-
たとえば図示した例では、2つのNORゲート11a,11bで構成された通常型のRS−FF11の入力側に、インバータ32とANDゲート34とでなる優先化回路30を設けることで、セット優先型のRS−FF10を構成している。
For example, in the example shown in the figure, by providing a
セット信号Sは、優先化回路30のセット入力Sinに入力され、そのまま出力Sout を介して通常型のRS−FF11のセット入力端子S1(NORゲート11aの一方の入力端子)に入力されるとともに、インバータ32にも入力され論理反転される。インバータ32により論理反転されたセット信号NSは、ANDゲート34の一方の入力端子に入力される。リセット信号Rは、優先化回路30のリセット入力Rinに入力され、ANDゲート34の他方の入力端子に入力される。
The set signal S is input to the set input Sin of the
このような優先化回路30の構成によれば、図5(B)に示す真理値表のように、ANDゲート34からは、リセット信号RがHレベルであっても、セット信号SがLレベルのときのみ、リセット信号Rが有効なものとして出力される。つまり、セット信号Sとリセット信号RがともにHレベルのときには、リセット信号Rが無効化され、優先化回路30のセット出力Sout とリセット出力Rout としては、セット信号Sが優先化される。
According to such a configuration of the
ANDゲート34によりセット信号S側が優先化されたリセット出力Rout は、通常型のRS−FF11のリセット入力端子R1(NORゲート11bの一方の入力端子)に入力される。結果的には、通常型のRS−FF11を用いた場合でも、セット信号Sとリセット信号RがともにHレベルのときには、セット信号Sが優先的となり、全体としては、セット状態となり、セット優先型のRS−FF10が構成できる。
The reset output Rout in which the set signal S side is prioritized by the AND
つまり、通常型のRS−FF11は、そのセット入力S1およびリセット入力R1がともにHレベルになった場合、出力が不定となるが、優先化回路30をその入力側に設けることで、セット入力Sおよびリセット入力RがともにHレベルになった場合でも、セット入力S1はH、リセット入力R1はLとなるため、非反転出力QがH、反転出力NQがLとなり、出力が不定となる問題を解消できる。
That is, when the set input S1 and the reset input R1 are both at the H level, the output of the normal type RS-
しかしながら、実際には、一見問題ないように見えるに過ぎないのである。何故なら、実動作を想定した場合、たとえば図5(C)に示す動作タイミングのように、リセット入力RがHレベルにあるときに、セット入力SがLレベルからHレベルに遷移することが起こり得る。 However, in reality, it seems to be no problem at first glance. This is because, assuming an actual operation, when the reset input R is at the H level, for example, as in the operation timing shown in FIG. 5C, the set input S may transition from the L level to the H level. obtain.
この場合には、セット信号側を優先的にする優先化回路30のリセット出力Rout としては、セット入力SがLレベルからHレベルに遷移してから(t10)、リセット出力Rout がHレベルからLレベルに遷移する(t12)までには、インバータ32およびANDゲート34によるゲート遅延の存在により、僅かな時間差Δta(=t12−t10)を持つ。
In this case, as the reset output Rout of the
このため、通常型のRS−FF11としては、優先化回路30の遅延時間Δta分だけセット入力S1およびリセット入力R1がともにHレベルとなってしまい、結果として、通常型のRS−FF11における遅延分を無視した場合でも、t10〜t12の期間(ハッチング部分)は、不定な出力を出してしまうことになる。
For this reason, as the normal type RS-
この問題を解消するには、優先化回路30で生じる時間差Δta(=t12−t10)を補正するべく、たとえば図6(A)に示す回路図のように、セット入力Sinとセット出力Sout との間に遅延回路36を設けることが考えられる。遅延回路36としては、たとえばゲート回路による遅延を利用するものや、カウンタを利用するものや、ガラス遅延素子(Delay Line)などのアナログ的な回路構成など、様々な構成を採用することができきる。
In order to solve this problem, in order to correct the time difference Δta (= t12−t10) generated in the
この場合、図6(B)に示す動作タイミングのように、遅延回路36によって生じるセット入力Sinとセット出力Sout との間の時間差Δtb(=t14−t10)が、インバータ32とANDゲート34とで生じる時間差Δta(=t12−t10)と同じかそれ以上となるように時間遅延処理を行なうことで、不定な出力を出さないようにすることができる。
In this case, as in the operation timing shown in FIG. 6B, the time difference Δtb (= t14−t10) between the set input Sin and the set output Sout generated by the
しかしながら、遅延回路36を設ける構成の場合には、新たな問題が生じてしまう。たとえば、通常型のRS−FF11における遅延分を無視した場合でも、遅延回路36による時間差Δtb(=t14−t10)分だけ、通常型のRS−FF11の各出力Q,NQが遅くれる。結果的には、同期信号NSYNCin に対するノイズ除去回路として用いると、同期信号NSYNCout のアサートエッジの発生タイミングが、同期信号NSYNCinのアサートエッジの発生タイミングよりも大きく遅れることとなり、本回路を搭載した装置全体としては、正常な動作を保証することができなくなる。
However, when the
また、遅延回路36にカウンタを用いる場合には、、セット入力の立上りエッジが保存されない。この問題を解消するには、ガラス遅延素子などのアナログ的な回路構成を採用することが考えられるが、この場合には、デジタル回路(ASICなど)との親和性が低下する問題がある。
Further, when a counter is used for the
ここで、第1実施形態において、そもそもセット優先型のRS−FF10を採用したのは、通常型のRS−FF11のセット入力S1とリセット入力R1とに、同時にHレベルが入力される場合を考慮したからである。逆に言えば、通常型のRS−FF11のセット入力S1とリセット入力R1とに同時にHレベルが入力されることを、優先化回路30内に遅延回路36を設けること以外の手法で回避すれば、上述した問題を解消できると考えられる。以下、このような観点からの別の実施形態について説明する。
Here, in the first embodiment, the reason why the set priority type RS-
<第2実施形態;ダウンカウンタ;変形例その1>
図7および図8は、第1実施形態のパルス信号再生装置1に対する変形例その1(第2実施形態という)を説明する図である。ここで、図7は、第1実施形態において、セット信号とリセット信号が同時にアサートされるタイミングが生じる原因を説明するタイミングチャートであり、図8は、その問題を解消する手法を説明するタイミングチャートである。
Second Embodiment; Down Counter;
7 and 8 are diagrams for explaining a modification 1 (referred to as a second embodiment) of the pulse
この第2実施形態は、セット信号とリセット信号が同時にアサートされるタイミングを作らないようにすることで、RS−FFとして、セット優先型のものに限定されない(つまりセット優先型のRS−FF10に代えて通常型のRS−FF11を使用する)ようにしている点に特徴を有する。具体的には、第1実施形態では、ダウンカウンタ208のダウンカウント停止タイミングを“0”としていたが、この第2実施形態では、ダウンカウンタ208のダウンカウント停止タイミングを“0”以外とする点に特徴を有している。
The second embodiment is not limited to the set priority type RS-FF (that is, the set priority type RS-FF 10) by preventing the set signal and the reset signal from being asserted at the same time. Instead, a normal type RS-FF11 is used). Specifically, in the first embodiment, the downcount stop timing of the
なお、ここでは、ダウンカウンタ208として4ビットのカウンタを用いた場合で説明する。この場合、10進数の“−1”はヘキサデータ(hを付して示す)で“Fh”となる。また、ダウンカウンタ208にノイズゲートデータDdとしてロードされる値は“Fh”であるとする。もちろん、アサートエッジは立下りエッジである。
Here, a case where a 4-bit counter is used as the
先ず、図7を参照して、第1実施形態において、セット信号とリセット信号が同時にアサートされるタイミングが生じる原因を確認する。なお、図7は、図3に示した動作タイミングに対して、同期信号SYNCin(RS−FF10用のセット入力S)を明示した点と、ロードデータを明示した点と、同期信号NSYNCoutの不定期間(ハッチング部分)を明示した点が異なるだけである。 First, referring to FIG. 7, in the first embodiment, the cause of the timing at which the set signal and the reset signal are asserted simultaneously is confirmed. 7 shows that the synchronization signal SYNCin (set input S for RS-FF10) is clearly shown, the load data is clearly shown, and the indefinite period of the synchronization signal NSYNCout with respect to the operation timing shown in FIG. The only difference is that the (hatched part) is clearly indicated.
ダウンカウンタ208は、カウント値が“0”になるとボローパルスBorrowを出力する、すなわち信号GをHレベルにしてカウント動作を停止する(たとえばt10〜t17)。このボローパルスBorrowのHレベルは、セット優先型のRS−FF10のリセット入力端子Rに供給されている。この間に、同期信号NSYNCin がアサートされると(たとえばt15)、インバータ12により論理反転された同期信号SYNCin(=信号H)がRS−FF10のセット入力端子Sに供給されるので、同期信号NSYNCin のアサートとほぼ同時に、RS−FF10がリセットされ、その反転出力端子NQがHレベルに遷移しようとする。
The down counter 208 outputs a borrow pulse Borrow when the count value becomes “0”, that is, sets the signal G to the H level and stops the count operation (for example, t10 to t17). The H level of the borrow pulse Borrow is supplied to the reset input terminal R of the set priority type RS-
一方、同期信号NSYNCin がアサートされると(t15)、ダウンカウンタ208のロード端子NLoad もLレベルとなり、ノイズゲートデータDd(=Fh)がダウンカウンタ208にロードされ、これによってボローパルスBorrowがネゲートされる(Lレベルになる)(t17)。
On the other hand, when the synchronization signal NSYNCin is asserted (t15), the load terminal NLoad of the
この場合、同期信号NSYNCin がアサートされてからダウンカウンタ208がロードされるので、同期信号NSYNCin がアサートされてからボローパルスBorrowがネゲートされLレベルになるまでの間(t15〜t17)は、RS−FF10は、セット端子Sとリセット端子Rがともにアサートされた状態となる。
In this case, since the
RS−FFとして、セット優先型あるいはリセット優先型のものを使用せずに通常型のRS−FF11を使用した場合には、RS−FFの出力がどうなるかは分からなくなる(出力不定状態)。この問題を解消するには、先にも述べたように、通常型のRS−FF11のセット端子S1とリセット端子R1がともにアサートされた状態となるのを防止する回路(たとえば図5(A)や図6(A)の優先化回路30)を追加する必要が生じる。
When the normal RS-
<問題の解決手法について>
以上のことから分かるように、第1実施形態において、RS−FFのセット端子Sとリセット端子Rがともにアサートされた状態となるのは、カウント値が“0”でダウンカウンタ208のカウント動作を停止させ、ボロー端子BorrowからHレベルが出力されたままの状態で、同期信号NSYNCin がアサートされることにあると考えてよい。カウント値が“0”でカウント動作を停止させるなど、回路構成や動作が非常に単純である反面、パルス信号の再生に当たっては、RS−FFのセット端子Sとリセット端子Rをともにアサートされた状態とする不都合がある。
<How to solve problems>
As can be seen from the above, in the first embodiment, the set terminal S and the reset terminal R of the RS-FF are both asserted because the count value is “0” and the count operation of the
したがって、ボロー端子BorrowからHレベルが出力されないような状態にして、同期信号NSYNCin がアサートされるようにすれば、RS−FFのセット端子とリセット端子がともにアサートされた状態となるのを防止することができる。 Therefore, if the synchronization signal NSYNCin is asserted in such a state that the H level is not output from the borrow terminal Borrow, both the set terminal and the reset terminal of the RS-FF are prevented from being asserted. be able to.
図8は、この観点からの解決手法の一例を示すものである。この例では、ダウンカウンタ208のダウンカウント停止タイミングを“0”ではなく、10進数の“−1”としている。
FIG. 8 shows an example of a solution technique from this viewpoint. In this example, the downcount stop timing of the
ここでも、ダウンカウンタ208として4ビットのカウンタを用いた場合で説明する。この場合、10進数の“−1”はヘキサデータ(hを付して示す)で“Fh”となる。また、ダウンカウンタ208にノイズゲートデータDdとしてロードされる値が“9h”であるとする。もちろん、アサートエッジは立下りエッジである。
Here, a case where a 4-bit counter is used as the
ダウンカウンタ208は、カウント値が“0”になるとボロー端子BorrowをHレベルにするが、カウント動作を停止することなく継続し、カウント値が“Fh”になると、ボロー端子BorrowをLレベルに、すなわち信号GをLレベルにして、カウント動作を停止する(t12)。このボローパルスBorrowのLレベルは、通常型のRS−FF11のリセット入力端子R1に供給されている。 The down counter 208 sets the borrow terminal Borrow to H level when the count value becomes “0”, but continues without stopping the count operation. When the count value becomes “Fh”, the borrow terminal Borrow is set to L level. That is, the signal G is set to L level and the counting operation is stopped (t12). The L level of the borrow pulse Borrow is supplied to the reset input terminal R1 of the normal RS-FF11.
この間に、同期信号NSYNCin がアサートされると(たとえばt15)、インバータ12により論理反転された同期信号SYNCin(=信号HのHレベル)が通常型のRS−FF11のセット入力端子S1に供給される。このとき、通常型のRS−FF11のリセット入力端子R1はLレベルにあるので、同期信号NSYNCin のアサートとほぼ同時に、通常型のRS−FF11がリセットされ、その反転出力端子NQがHレベルに遷移する(t16)。これにより、同期信号NSYNCoutのアサートエッジが生成される。
During this time, when the synchronization signal NSYNCin is asserted (for example, t15), the synchronization signal SYNCin (= H level of the signal H) logically inverted by the
つまり、アクティブローの同期信号NSYNCin の立下りの遷移期間において、同期信号NSYNCin がアサートされるときには、通常型のRS−FF11のセット入力とリセット入力とが同時にアサートされるのを回避できており、また同期信号NSYNCin のアサートとほぼ同時に同期信号NSYNCoutもアサートされるようになる。
In other words, when the synchronization signal NSYNCin is asserted in the transition period of the falling edge of the active-low synchronization signal NSYNCin, it is possible to avoid asserting the set input and the reset input of the normal type RS-
一方、アクティブローの同期信号NSYNCin の立上りの遷移期間においては、同期信号NSYNCin のHレベルが安定して継続し、ダウンカウンタ208のカウント値が“0”になると(t50)、ダウンカウンタ208は、ボローパルスBorrowを出力する、すなわち信号GをHレベルにするが、カウント動作を停止することなく継続し、カウント値が“Fh”になると、ボロー端子BorrowをLレベルに、すなわち信号GをLレベルにして、カウント動作を停止する(t52)。このボローパルスBorrowのLレベルは、通常型のRS−FF11のリセット入力端子R1に供給される。
On the other hand, during the rising transition period of the active low synchronization signal NSYNCin, the H level of the synchronization signal NSYNCin continues stably, and when the count value of the
ここで、ボローパルスBorrowがダウンカウンタ208から出力されたときには、通常型のRS−FF11のセット入力端子S1には、インバータ12により論理反転された同期信号SYNCin(=信号HのLレベル)が供給されているので、通常型のRS−FF11は、セット端子S1がLレベルの状態でリセット端子R1にHレベルが入力され、その非反転出力端子QはLレベルに、反転出力端子NQはHレベルにリセットされる(t51)。これにより、同期信号NSYNCoutのネゲートエッジが生成される。
Here, when the borrow pulse Borrow is outputted from the
つまり、ダウンカウンタ208のダウンカウント停止タイミングを“−1”とする第2実施形態では、ボローパルスBorrowがt50〜t52の期間に出力され、ダウンカウンタ208でカウントする時間を、同期信号NSYNCin のネゲート時間t45〜t60に対して短く設定すれば、アクティブローの同期信号NSYNCin の立上りの遷移期間においても、通常型のRS−FF11のセット入力とリセット入力とが同時にアサートされるのを回避することができる。
That is, in the second embodiment in which the downcount stop timing of the
RS−FFとして、セット優先型あるいはリセット優先型のものを使用しない場合においても、回路を追加することなく、通常型のRS−FF11のセット端子S1とリセット端子R1がともにアサートされた状態となるのを確実に防止することができる。同期信号NSYNCin のネゲートからノイズゲート期間だけ遅れて同期信号NSYNCoutがネゲートされるものの、出力が不安定になることはない。
Even when the set priority type or the reset priority type is not used as the RS-FF, both the set terminal S1 and the reset terminal R1 of the normal type RS-
<第3実施形態;ダウンカウンタ;変形例その2の構成>
図9および図10は、第1実施形態のパルス信号再生装置1に対する変形例その2(第3実施形態という)を説明する図である。ここで、図9は、第3実施形態のパルス信号再生装置の構成を示す回路ブロック図であり、図10は、第3実施形態のパルス信号再生装置の動作を説明するタイミングチャートである。
<Third Embodiment; Down Counter; Configuration of Modification Example 2>
FIG. 9 and FIG. 10 are diagrams for explaining a modification 2 (referred to as the third embodiment) of the pulse
この第3実施形態は、再生対象のパルス信号(ここでは同期信号NSYNCin )のアクティブ期間の終縁タイミングを規定するカウンタとしてダウンカウンタを利用した点に特徴を有する。また、ダウンカウンタのダウンカウント停止タイミングを特に規定しない点に特徴を有する。また、RS−FFとして通常型のRS−FFを使用する点に特徴を有する。 The third embodiment is characterized in that a down counter is used as a counter that defines the end timing of the active period of the pulse signal to be reproduced (here, the synchronization signal NSYNCin). Also, the downcount stop timing of the downcounter is not particularly defined. Further, the present invention is characterized in that a normal RS-FF is used as the RS-FF.
また、最大の特徴点は、ダウンカウンタのロードタイミングをRS−FFの出力で規定する、具体的には、入力パルス信号がアサートレベルにあるときとRS−FFがリセットの状態にあるときにノイズゲートデータをカウンタのデータ入力端子に取り込むように構成している点にある。以下、この点に着目して具体的に説明する。 The biggest feature point is that the load timing of the down counter is defined by the output of the RS-FF. Specifically, when the input pulse signal is at the assert level and when the RS-FF is in the reset state, noise is generated. The gate data is fetched into the data input terminal of the counter. Hereinafter, this point will be specifically described.
図9に示すように、第3実施形態のパルス信号再生装置1は、第1実施形態の構成に対して、ダウンカウンタのロードタイミングをRS−FFの出力で規定するべく、ダウンカウンタ208のロード端子NLloadの入力側にNORゲート22を設けてリセット信号生成部20を構成し、通常型のRS−FF11の反転出力端子NQから出力されたパルス(信号E)が、ノイズ成分が除去された同期信号NSYNCoutとして使用されるようになっている。
As shown in FIG. 9, the pulse
またリセット信号生成部20は、パワーオンリセット信号NPRST (信号A)を論理反転するインバータ24と、インバータ24により論理反転されたパワーオンリセット信号PRST(信号C)およびダウンカウンタ208のバロー出力(信号G)の論理和を取り、その論路輪出力(信号D)を通常型のRS−FF11のリセット端子R1に供給するORゲート28とを備えている。
The reset
NORゲート22は、一方の入力端子にインバータ12で論理反転された同期信号SYNCinが入力され、他方の入力端子に通常型のRS−FF11の反転出力端子NQから出力されたパルス(信号E)が入力され、その論理和出力(信号F)をダウンカウンタ208のロード端子NLoadに供給するようにする。
In the NOR
ダウンカウンタ208は、リセット端子NResetとロード端子NLoad に、同時にLレベルが入力されたときには、リセットが優先されるものとする。
In the
<第3実施形態;動作>
図10は、図9に示した第3実施形態のパルス信号再生装置1の動作を説明するタイミングチャートである。
<Third Embodiment; Operation>
FIG. 10 is a timing chart for explaining the operation of the pulse
同期信号NSYNCin がHレベルにあるときに、パワーオンリセット信号NPRST がLレベルのときには、通常型のRS−FF11は、セット入力端子S1がLレベル、リセット入力端子がHレベルに設定されるのでリセット状態となり、その反転出力端子がHレベルになる。
When the synchronization signal NSYNCin is at the H level and the power-on reset signal NPRST is at the L level, the normal RS-
また、ダウンカウンタ208のリセット端子Nresetに、パワーオンリセット信号NPRST のLレベルが供給されるので、ロード端子NLoad (信号F)の状態に拘わらずリセットが優先される。この結果、ダウンカウンタ208のカウント値は“0”の状態となり、ダウンカウンタ208からはボローパルスBorrow(Hレベル)が出力される。この情報は、ORゲート28の一方の入力端子に供給されるが、他方の入力端子には、既に、パワーオンリセット信号NPRST をインバータ24で論理反転したHレベルが供給されているので、通常型のRS−FF11に対しては何ら変化が起きない。
Further, since the L level of the power-on reset signal NPRST is supplied to the reset terminal Nreset of the
なお、このとき、ダウンカウンタ208のロード端子NLoad に通常型のRS−FF11の反転出力端子のHレベルの情報がNORゲート22を介してLレベルとして入力される。しかしながら、この際には、パワーオンリセット信号NPRST のLレベルがダウンカウンタ208のリセット端子Nresetに供給されており、ダウンカウンタ208はリセットが優先されるので、ダウンカウンタ208のカウント値は“0”の状態を維持し、ダウンカウンタ208からはボローパルスBorrowが出力され続ける結果、通常型のRS−FF11は、セット端子S1がLレベルで、リセット端子R1がHレベルを維持するため、通常型のRS−FF11はリセット状態を維持する。
At this time, the H level information of the inverted output terminal of the normal type RS-
通常型のRS−FF11がリセット状態にあり、かつ同期信号NSYNCin がHレベルにあるときに、パワーオンリセット信号NPRST がHレベルに戻ると(t10)、ダウンカウンタ208のリセットが解除され、通常型のRS−FF11のリセット状態によるダウンカウンタ208のロードが有効となる。この結果、ダウンカウンタ208は、データ端子Dataに供給されるノイズゲートデータDdをロードする(t12)。これにより、ボローパルスBorrow(信号G)がLレベルに遷移し、これがRS−FF10のリセット端子Rに供給される(t13)。このとき、通常型のRS−FF11のセット端子S1はLレベルにあるので、リセット状態を維持し続ける。
When the normal RS-
次に、アクティブローの同期信号NSYNCin の立下りの遷移期間について説明する。先ず、パワーオンリセット信号NPRST がHレベルのときに(t12以降)、同期信号NSYNCin がLレベルに遷移すると(t15)、その立下りエッジがインバータ12で反転され、立上りエッジが通常型のRS−FF11のセット端子S1に入力され、セット端子S1がHレベルに設定される。
Next, the falling transition period of the active-low synchronization signal NSYNCin will be described. First, when the power-on reset signal NPRST is at the H level (after t12), when the synchronization signal NSYNCin transits to the L level (t15), the falling edge is inverted by the
このとき、通常型のRS−FF11のリセット端子R1に供給されているボローパルスBorrowがLレベルにあるので、通常型のRS−FF11はセットされ、非反転出力端子QはHレベルに、反転出力端子NQはLレベルになる(t16)。これにより、同期信号NSYNCoutのアサートエッジが生成される。
At this time, since the borrow pulse Borrow supplied to the reset terminal R1 of the normal type RS-
つまり、アクティブローの同期信号NSYNCin の立下りの遷移期間において、同期信号NSYNCin がアサートされるときには、通常型のRS−FF11のセット入力とリセット入力とが同時にアサートされるのを回避できており、また同期信号NSYNCin のアサートとほぼ同時に同期信号NSYNCoutもアサートされるようになる。
In other words, when the synchronization signal NSYNCin is asserted in the transition period of the falling edge of the active-low synchronization signal NSYNCin, it is possible to avoid asserting the set input and the reset input of the normal type RS-
また、同期信号NSYNCin がLレベルの間は、その情報がNORゲート22を介してダウンカウンタ208のロード端子NLoad に供給されるので、RS−FF11の反転出力(信号E)がLレベルになっても、ダウンカウンタ208は、データ端子Dataに供給されるノイズゲートデータDdをロードし続けた状態を維持する。通常型のRS−FF11もセット状態を維持する。
Further, while the synchronization signal NSYNCin is at the L level, the information is supplied to the load terminal NLoad of the
次に、同期信号NSYNCin にノイズ(特にその立下りエッジ近傍で発生するチャタリングノイズ)が含まれていて、本来のLレベル期間を維持せずに同期信号NSYNCin がHレベルになると(t20)、ダウンカウンタ208は、ノイズゲートデータDdからダウンカウント動作を開始する(t23)。このとき、通常型のRS−FF11は、セット端子S1とリセット端子R1がともにLレベルになるので、セットされた状態を維持する。
Next, when the synchronization signal NSYNCin includes noise (particularly chattering noise generated near its falling edge) and the synchronization signal NSYNCin becomes H level without maintaining the original L level period (t20), the synchronization signal NSYNCin is down. The
ここで、ダウンカウンタ208のカウント値が“0”となる以前に、同期信号NSYNCin が本来のLレベルに戻ると(t30)、ダウンカウンタ208のロード端子Nload がLレベルとなり、データ端子Dataに供給されるノイズゲートデータDdを再度ロードする(t32)。
Here, if the synchronization signal NSYNCin returns to the original L level before the count value of the
ダウンカウンタ208はボローパルス端子BorrowをLレベルに維持し続けるので、そのLレベルを通常型のRS−FF11のリセット端子R1に供給し続ける。通常型のRS−FF11は、セット端子S1がHレベル、リセット端子RがLレベルとなるが、それ以前はセット端子S1およびリセット端子R1がLレベルの変化なしの状態であり、事実上は、さらにそれ以前のセットされた状態を維持し、何らの変化が起きない。
Since the
また、同期信号NSYNCin に次のノイズが含まれていて、ダウンカウンタ208のカウント値が“0”になる前にHレベル→Lレベルを繰り返す場合にも、上述したt20〜t32と同様の動作を繰り返す。
Also, when the synchronization signal NSYNCin includes the following noise and the H level → L level is repeated before the count value of the
次に、アクティブローの同期信号NSYNCin の立上りの遷移期間について説明する。同期信号NSYNCin の本来のLレベル期間がほぼ経過し、同期信号NSYNCin がHレベルになるときに、同期信号NSYNCin にノイズ(特にその立上りエッジ近傍で発生するチャタリングノイズ)が含まれていて(t35〜t46)、ダウンカウンタ208のカウント値が“0”になる前にHレベル→Lレベルを繰り返す場合にも、上述したt20〜t32と同様の動作を繰り返す。
Next, the rising transition period of the active-low synchronization signal NSYNCin will be described. When the original L level period of the synchronization signal NSYNCin has almost passed and the synchronization signal NSYNCin becomes H level, the synchronization signal NSYNCin contains noise (particularly chattering noise generated near the rising edge) (t35 to 35). t46) Even when the H level → L level is repeated before the count value of the
この後、同期信号NSYNCin のHレベルが安定して継続し、ダウンカウンタ208のカウント値が“0”になると(t50)、ダウンカウンタ208は、ボローパルスBorrowを出力する、すなわち信号GをHレベルにする。
Thereafter, when the H level of the synchronization signal NSYNCin continues stably and the count value of the
ここで、ボローパルスBorrowがダウンカウンタ208から出力されたときには、通常型のRS−FF11のセット入力端子S1には、インバータ12により論理反転された同期信号SYNCin(=信号HのLレベル)が供給されているので、通常型のRS−FF11は、セット端子S1がLレベルの状態でリセット端子R1にHレベルが入力され、その非反転出力端子QはLレベルに、反転出力端子NQはHレベルにリセットされる(t51)。これにより、同期信号NSYNCoutのネゲートエッジが生成される。
Here, when the borrow pulse Borrow is outputted from the
また、この反転出力端子NQのHレベルの情報は、NORゲート22を介してダウンカウンタ208を、ロード状態に設定するために利用される。図示した例では、ゲート回路における遅延時間を意図的に長く表記しているため、t52ではカウンタ値が“0”を超えて“Fh=−1”までカウントダウンしてから、ロードデータDd=9をロードしている。なお、実際の使用に当たっては、ダウンカウンタ208は“0”までカウントダウンして停止する構成でもよいし、そのままカウント動作を継続し、再帰的にカウントダウンを継続するものでもよい。
Further, the H level information of the inverting output terminal NQ is used to set the
このように、第3実施形態においても、概ね第2実施形態と同様のタイミングで、同期信号NSYNCoutを生成することができる。つまり、ボローパルスBorrowがt50でアクティブとなり、ダウンカウンタ208でカウントする時間を、同期信号NSYNCin のネゲート時間t45〜t60に対して短く設定すれば、アクティブローの同期信号NSYNCin の立上りの遷移期間においても、通常型のRS−FF11のセット入力とリセット入力とが同時にアサートされるのを回避することができる。
Thus, also in the third embodiment, the synchronization signal NSYNCout can be generated at substantially the same timing as in the second embodiment. In other words, if the borrow pulse Borrow becomes active at t50 and the time counted by the
RS−FFとして、セット優先型あるいはリセット優先型のものを使用しない場合においても、回路を追加することなく、通常型のRS−FF11のセット端子S1とリセット端子R1がともにアサートされた状態となるのを確実に防止することができる。同期信号NSYNCin のネゲートからノイズゲート期間だけ遅れて同期信号NSYNCoutがネゲートされるものの、出力が不安定になることはない。
Even when the set priority type or the reset priority type is not used as the RS-FF, both the set terminal S1 and the reset terminal R1 of the normal type RS-
<第4実施形態;アップカウンタ;構成>
図11は、第4実施形態のパルス信号再生装置1を説明する図である。ここで、図11(A)は、第4実施形態のパルス信号再生装置1の構成を示す回路ブロック図であり、図11(B)は、ロードされる(ノイズゲート期間を設定するための)データの与え方を説明する図である。
<Fourth Embodiment; Up Counter; Configuration>
FIG. 11 is a diagram for explaining the pulse
この第4実施形態は、第1実施形態の構成に対して、再生対象のパルス信号(ここでは同期信号NSYNCin )のアクティブ期間の開始時や終了時の近傍に存在するノイズを監視するゲート期間、特に終縁タイミングを規定するカウンタとして、アップカウンタを利用するように変形した点に特徴を有する。以下具体的に説明する。 The fourth embodiment is different from the configuration of the first embodiment in that a gate period for monitoring noise existing near the start or end of the active period of the pulse signal to be reproduced (here, the synchronization signal NSYNCin), In particular, the counter is characterized in that it is modified to use an up-counter as a counter that defines the end timing. This will be specifically described below.
図11(A)に示すように、第4実施形態のパルス信号再生装置1は、図1に示した第1実施形態のパルス信号再生装置1におけるボローパルス生成部200を、キャリーパルス生成部240に変更している。
As shown in FIG. 11A, the pulse
キャリーパルス生成部240は、図1に示した第1実施形態のパルス信号再生装置1におけるダウンカウンタ208をアップカウンタ248に置き換えている。アップカウンタ248は、クロック端子CKに所定のクロック信号CLK が入力され、データ端子Dataにノイズゲート期間を規定する所定のデータ(ノイズゲートデータ)Duがカウント値設定部209によりセットされ、プリセット端子NPreset にパワーオンリセット信号NPRST (信号A)が供給されることでフルデータ(ここではFhとする)を出力し、ロード端子NLoad に再生処理対象の同期信号NSYNCin (信号B)が供給されるようになっている。なお、アップカウンタ248のプリセットはクロック同期であることが好ましい。
The carry pulse generator 240 replaces the
アップカウンタ248は、同期信号NSYNCin がHレベルの間、カウント値が“フルデータ=Fh”になるまでアップカウントする。そして、カウント値が“フルデータ”になったらカウント動作を停止すると同時に、カウント値が“フルデータ=Fh”の間はRS−FF10をリセットするための信号として使われるキャリーパルスCarry (信号g)を出力する。生成されたキャリーパルスCarry はRS−FF10のリセット端子Rに供給される。
The up counter 248 counts up while the synchronization signal NSYNCin is at the H level until the count value becomes “full data = Fh”. When the count value reaches “full data”, the count operation is stopped, and at the same time, while the count value is “full data = Fh”, a carry pulse Carry used as a signal for resetting the RS-FF 10 (signal g) Is output. The generated carry pulse Carry is supplied to the reset terminal R of the RS-
カウント値設定部209によりノイズゲート期間を規定するデータDuを設定し、この設定されたデータDuからカウント動作を開始しキャリーパルスCarry (信号g)が出力されるまでの期間をノイズを監視するためのノイズゲート期間の設定幅とする。よって、カウント値設定部209により与えるデータDuの値を調整すれば、ノイズゲート期間の設定幅を調整することができる。
The count
<第4実施形態;アップカウンタ;動作>
図12は、図11に示した第4実施形態のパルス信号再生装置1の動作を説明するタイミングチャートである。詳細な説明は割愛するが、図3に示した第1実施形態との相違における主要な点は、第1に、パワーオンリセット信号NPRST (信号A)によってアップカウンタ248が“フルデータ=Fh”にプリセットされることで、キャリーパルスCarry (信号g)を出力する点(t10以前)である。
<Fourth Embodiment; Up Counter; Operation>
FIG. 12 is a timing chart for explaining the operation of the pulse
アクティブローの同期信号NSYNCin の立下りの遷移期間については、第1実施形態と概ね同じであり、パワーオンリセット信号NPRST がHレベルのときに(t10以降)、同期信号NSYNCin がLレベルに遷移すると(t15)、その立下りエッジがインバータ12で反転され、立上りエッジがRS−FF10のセット端子Sに入力され、セット端子SがHレベルに設定される。
The falling transition period of the active-low synchronization signal NSYNCin is substantially the same as in the first embodiment. When the power-on reset signal NPRST is at the H level (after t10), the synchronization signal NSYNCin transitions to the L level. (T15), the falling edge is inverted by the
このとき、RS−FF10のリット端子Rに供給されているキャリーパルスCarry (信号g)がHレベルにあるので、優先性が規定されていない通常のRS−FFであれば出力が不定となるが、本実施形態では、セット優先型のRS−FF10にしているので、RS−FF10はセットされ、非反転出力端子QはHレベルに、反転出力端子NQはLレベルになる(t16)。
At this time, since the carry pulse Carry (signal g) supplied to the lit terminal R of the RS-
これにより、同期信号NSYNCoutのアサートエッジが生成される。また、再生対象のパルス信号(ここでは同期信号NSYNCin )のアクティブ期間の開始時の近傍に存在するノイズを確実に除去することができる。 As a result, an assert edge of the synchronization signal NSYNCout is generated. Further, it is possible to reliably remove noise existing in the vicinity of the start of the active period of the pulse signal to be reproduced (here, the synchronization signal NSYNCin).
また、第2の大きな相違点は、アクティブローの同期信号NSYNCin の立上りの遷移期間において、同期信号NSYNCin のHレベルが安定して継続し、アップカウンタ248のカウント値が“Fh”になると(t50)、アップカウンタ248は、カウント動作を停止すると同時に、キャリーパルスCarry を出力する点である。これにより、RS−FF10は、セット端子SがLレベルの状態でリセット端子RにHレベルが入力され、その非反転出力端子QはLレベルに、反転出力端子NQはHレベルにリセットされる(t51)。これにより、同期信号NSYNCoutのネゲートエッジが生成される。また、再生対象のパルス信号(ここでは同期信号NSYNCin )のアクティブ期間の終了時の近傍に存在するノイズを確実に除去することができる。
The second major difference is that the H level of the synchronization signal NSYNCin continues stably during the transition period of the rising edge of the active-low synchronization signal NSYNCin, and the count value of the
このように、ダウンカウンタ208を用いた第1実施形態の構成をアップカウンタ248を用いて変形しても、パルス信号(上記例では同期信号NSYNCin )のアサートエッジを起点として、再生パルスのアサートエッジを生成し、アクティブ(アサート)期間後のインアクティブ(ネゲート)期間がノイズゲート期間以上経過した後に再生パルスのネゲートエッジを生成することができ、パルス信号にノイズが重畳していた場合でも、アサートエッジの発生タイミング(周期パルスの場合には繰返周期)を維持しつつ、ノイズを除去したパルス信号を再生することができ、その結果、同期信号NSYNCoutを使用する回路の誤動作を防止できるなど、第1実施形態と同様の効果を享受できる。
As described above, even if the configuration of the first embodiment using the
加えて、汎用ロジックICを使用する場合、アップカウンタの方が部品が多く、入手性や価格の点で有利となり、この第4実施形態を用いる利点がある。たとえばテキサス・インスツルメント社の74シリーズロジックICのカウンタに着目すると、アップカウンタのみ、もしくはアップ/ダウン切替機能付きのカウンタは用意されているが、ダウン機能のみを有するカウンタは存在しないため、アップカウンタを使用する本実施形態にメリットがある。 In addition, when the general-purpose logic IC is used, the up counter has more parts, which is advantageous in terms of availability and price, and has an advantage of using the fourth embodiment. For example, focusing on Texas Instruments' 74 series logic IC counters, only up counters or counters with up / down switching functions are available, but there are no counters with only down functions. This embodiment using a counter is advantageous.
ただし、図11(B)に示すように、アップカウンタ248を用いてキャリーパルスCarry が出力されるまでを利用してノイズゲート期間を設定する場合、ノイズゲート期間を規定するデータ値Duの与え方が、ユーザにとって取り扱い難くなる。何故なら、アップカウンタ248を用いた場合のノイズゲート期間Tnは、アップカウンタ248のデータ端子Dataにセットされたデータ値Duからカウンタ値が“フルデータ”となるまでの期間であり、これはデータ値Duにカウントクロックの1周期T0を掛けた値と等しくならない。具体的には、フルデータを1周期T0のカウントクロックCLKでカウントしたときの全期間Tfullからノイズゲート期間Tnを差し引いた値ΔTを求め、この値ΔTをカウントクロックの1周期T0で割った値Duを、アップカウンタ248のデータ端子Dataにセットすればよい。
However, as shown in FIG. 11B, when the noise gate period is set by using the up counter 248 until the carry pulse Carry is output, how to give the data value Du that defines the noise gate period However, it becomes difficult for the user to handle. This is because the noise gate period Tn when the
なお、この第4実施形態の説明では、第1実施形態に対する変形例で示したが、これに限らず、第2や第3実施形態に対しても同様に、再生対象のパルス信号(ここでは同期信号NSYNCin )のアクティブ期間の開始時や終了時の近傍に存在するノイズを監視するゲート期間、特に終縁タイミングを規定するカウンタとして、アップカウンタを利用するように変形することができる。 In the description of the fourth embodiment, a modification to the first embodiment is shown. However, the present invention is not limited to this, and similarly to the second and third embodiments, a pulse signal to be reproduced (here, The up-counter can be modified to use a gate period for monitoring noise existing in the vicinity of the start or end of the active period of the synchronization signal NSYNCin), particularly as a counter that defines the end timing.
<第5実施形態;アップカウンタ+比較器;構成>
図13は、第5実施形態のパルス信号再生装置1を説明する図である。ここで、図13(A)は、第5実施形態のパルス信号再生装置1の構成を示す回路ブロック図であり、図13(B),(C)は、ノイズゲート期間を設定するためのデータの与え方を説明する図である。
<Fifth Embodiment; Up Counter + Comparator; Configuration>
FIG. 13 is a diagram for explaining the pulse
この第5実施形態は、コンパレータ(比較器)での比較結果を用いてカウンタをクリア(リセット)し続けることでカウント動作を停止させ、この停止タイミングを調整することにより、ノイズを監視するためのノイズゲート期間の設定幅を調整するように構成する点に特徴を有する。以下、第4実施形態に対する変形例で、具体的に説明する。 In the fifth embodiment, the count operation is stopped by continuing to clear (reset) the counter using the comparison result in the comparator (comparator), and the noise is monitored by adjusting the stop timing. It is characterized in that it is configured to adjust the set width of the noise gate period. Hereinafter, a modification to the fourth embodiment will be specifically described.
図13に示すように、第5実施形態のパルス信号再生装置1は、通常型のRS−FF11と、入力されたノイズ成分を含む再生処理対象の同期信号NSYNCin (信号B)を論理反転して通常型のRS−FF11のセット端子S1に同期信号SYNCin (信号H)をセット信号として供給するインバータ12と、通常型のRS−FF11のリセット端子R1にリセット信号(信号G)を供給するリセット信号生成部20とを備え、通常型のRS−FF11の反転出力端子NQから出力されたパルス(信号E)が、ノイズ成分が除去された同期信号NSYNCoutとして使用されるようになっている。
As shown in FIG. 13, the pulse
リセット信号生成部20は、入力パルス信号に含まれるノイズを監視するノイズ監視部として機能するものである。このリセット信号生成部20は、キャリーパルス生成部240に代えて、カウント値とノイズゲート期間を規定するデータDuとを論理比較する論理比較部250を有している。
The reset
論理比較部250は、カウント値設定部209とアップカウンタ248の他に、アップカウンタ248のカウント出力(信号K)とカウント値設定部209から設定されるノイズゲート期間を規定するデータDuとを論理比較して、比較一致出力(信号L)を出力端子Compから出力する比較器252を備えている。
In addition to the count
またリセット信号生成部20は、パワーオンリセット信号NPRST (信号A)を論理反転するインバータ24と、インバータ12により論理反転された同期信号SYNCin(信号H)、インバータ24により論理反転されたパワーオンリセット信号PRST(信号C)および通常型のRS−FF11の反転出力(信号E)の論理和を取るNORゲート26とを備えている。
The
また、リセット信号生成部20は、インバータ24により論理反転されたパワーオンリセット信号PRST(信号C)および比較器252による比較一致出力(信号L)の論理和を取り、その論理和出力(信号M)を、通常型のRS−FF11のリセット端子R1にリセット信号として供給するORゲート28を備えている。
The
アップカウンタ248は、クロック端子CKに所定のクロック信号CLK が入力され、クリア端子NClearにNORゲート26からの論理和出力(信号J)が供給され、論理和出力(信号J)がLレベルの間にカウント値を初期状態に設定(本例では“0”にクリア)し、入力パルス信号がネゲートレベルにあり通常型のRS−FF11がセット状態にあって論理和出力(信号J)がHレベルの間にカウント値=ゼロからカウント動作を開始し、またカウント値を出力端子(Count Out )から比較器252の一方の入力端子Aに出力するようになっている。なお、アップカウンタ248のクリアはクロック同期であることが好ましい。
In the
このような構成においては、カウント値設定部209によりノイズゲート期間を規定するデータDuを比較器252の一方の入力端子Bに常時設定し続け、またアップカウンタ248にてカウント値=ゼロからカウント動作を開始し、比較器252による比較一致出力(信号L)が得られるまでの期間をノイズを監視するためのノイズゲート期間の設定幅とする。よって、カウント値設定部209により与えるデータDuの値を調整すれば、ノイズゲート期間の設定幅を調整することができる。
In such a configuration, the count
ここで、アップカウンタ248がアップカウントする時間が、同期信号NSYNCin の立下りエッジおよび立上りエッジに含まれるノイズが収束するのに十分な時間であるように、カウント値設定部209は、ノイズゲート期間を規定するデータ値(ノイズゲートデータDu)を設定することとする。
Here, the count
全体としてみたとき、基本的には、同期信号NSYNCin がアサートされると計測すべき時間を設定するべくアップカウンタ248をクリアし、同期信号NSYNCin がネゲートされインアクティブ(Hレベル)の間、カウント値がカウント値設定部209により設定されるデータDuとなるまでアップカウントする。そして、カウント値がデータDuと一致すると同時に、通常型のRS−FF11をリセットするための信号として使われる比較一致出力(信号L)を出力する。
When viewed as a whole, basically, when the synchronization signal NSYNCin is asserted, the up
こうすることで、第5実施形態のパルス信号再生装置1においても、再生対象のパルス信号(ここでは同期信号NSYNCin )のアクティブ期間の終了時の近傍に存在するノイズを監視するためのノイズゲート期間を設定し、再生対象のパルス信号がネゲートされてからノイズの有無の監視を開始する。そして、この設定された期間内のネゲートレベルに存在するノイズが再生パルス(ここでは同期信号NSYNCout)に含まれないように、ネゲートエッジ近傍に関してノイズ除去処理を行なう。
By doing so, also in the pulse
また、この設定により、自動的に、アクティブ期間の開始時の近傍に存在するノイズを監視するためのノイズゲート期間も設定され、再生対象のパルス信号がアサートされてからノイズの有無の監視を開始する。そして、この設定された期間内のアサートレベルに存在するノイズが再生パルス(ここでは同期信号NSYNCout)に含まれないように、アサートエッジ近傍に関してノイズ除去処理を行なう。 This setting also automatically sets the noise gate period to monitor the noise that exists in the vicinity of the start of the active period, and starts monitoring the presence or absence of noise after the pulse signal to be played is asserted. To do. Then, noise removal processing is performed in the vicinity of the assert edge so that noise existing at the assert level within the set period is not included in the reproduction pulse (here, the synchronization signal NSYNCout).
<第5実施形態;アップカウンタ+比較器;動作>
図14は、図13に示した第5実施形態のパルス信号再生装置1の動作を説明するタイミングチャートである。
<Fifth Embodiment; Up Counter + Comparator; Operation>
FIG. 14 is a timing chart for explaining the operation of the pulse
パワーオンリセット信号NPRST (信号A)がアクティブになりLレベルになると(t10以前)、パワーオンリセット信号NPRST (信号A)がインバータ24およびNORゲート26を介してアップカウンタ248のクリア端子NClearに供給され、アップカウンタ248はカウント動作を停止し、カウント値=0を出力端子(Count Out )から比較器252の一方の入力端子Aに出力する。
When the power-on reset signal NPRST (signal A) becomes active and becomes L level (before t10), the power-on reset signal NPRST (signal A) is supplied to the clear terminal NClear of the
よって、比較器252による比較一致出力(信号L)がインアクティブ=Lレベルとなり、これがORゲート28の一方の入力端子に入力される。このとき、ORゲート28の一方の入力端子には、パワーオンリセット信号PRST (信号J)が入力されるので、結果的には、パワーオンリセット信号NPRST (信号A)によって、通常型のRS−FF11がリセットされ、非反転出力端子QはLレベルに、反転出力端子NQはHレベルになる。
Therefore, the comparison match output (signal L) by the
このとき、反転出力端子NQのHレベルは、NORゲート26を介してアップカウンタ248のクリア端子NClearに供給されるようになるが、既にアップカウンタ248はパワーオンリセット信号NPRST (信号A)によってクリアされており、何ら変化はない。
パワーオンリセット信号NPRST (信号A)が解除されHレベルになると(t10〜t15)、ORゲート28の両方の入力端子がLレベルとなるので、通常型のRS−FF11は、セット端子S1およびリセット端子R1がLレベルとなり、何ら変化はない。
At this time, the H level of the inverting output terminal NQ is supplied to the clear terminal NClear of the
When the power-on reset signal NPRST (signal A) is canceled and becomes H level (t10 to t15), both input terminals of the
アクティブローの同期信号NSYNCin の立下りの遷移期間については、第4実施形態と概ね同じであり、パワーオンリセット信号NPRST がHレベルのときに、同期信号NSYNCin がLレベルに遷移すると(t15)、その立下りエッジがインバータ12で反転され、立上りエッジが通常型のRS−FF11のセット端子S1に入力され、セット端子S1がHレベルに設定される。
The falling transition period of the active-low synchronization signal NSYNCin is substantially the same as that of the fourth embodiment. When the power-on reset signal NPRST is at the H level and the synchronization signal NSYNCin transitions to the L level (t15), The falling edge is inverted by the
このとき、通常型のRS−FF11のリット端子R1に供給されているORゲート28による論理和出力(信号M)がLレベルにあるので、通常型のRS−FF11はセットされ、非反転出力端子QはHレベルに、反転出力端子NQはLレベルになる(t16)。これにより、同期信号NSYNCoutのアサートエッジが生成される。
At this time, since the OR output (signal M) by the
このとき、反転出力端子NQがLレベルになるので、NORゲート26を介したアップカウンタ248のクリアが解除されようとするが、同期信号NSYNCin がLレベルに遷移することで(t15)、インバータ12により論理反転されたHレベルがNORゲート26を介してアップカウンタ248のクリア端子NClearに供給されるようになっているので、アップカウンタ248はクリアされた状態を維持し何ら変化はない。この状態は、同期信号NSYNCin がLレベルの間継続する。
At this time, since the inverted output terminal NQ becomes L level, the clearing of the
次に、同期信号NSYNCin にノイズ(特にその立下りエッジ近傍で発生するチャタリングノイズ)が含まれていて、本来のLレベル期間を維持せずに同期信号NSYNCin がHレベルになると(t20)、NORゲート26の出力(信号J)がHレベルとなり、アップカウンタ248のクリアが解除されるので(t21)、アップカウンタ248はカウント値=0からアップカウント動作を開始する(t23)。このとき、比較器252による比較一致出力(信号L)がインアクティブ=Lレベルのままであり、これがORゲート28の一方の入力端子に入力されるので、通常型のRS−FF11は、セット端子S1およびリセット端子R1がともにLレベルとなり、それ以前の状態であるセットされた状態を維持し、何らの変化が起きない。
Next, when the synchronization signal NSYNCin includes noise (particularly chattering noise generated in the vicinity of its falling edge) and the synchronization signal NSYNCin becomes H level without maintaining the original L level period (t20), NOR. Since the output of the gate 26 (signal J) becomes H level and the clearing of the
ここで、アップカウンタ248のカウント値が比較器252の入力端子Bに設定されるデータ値Duとなる以前に、同期信号NSYNCin が本来のLレベルに戻ると(t30)、その立下りエッジがインバータ12で反転され、立上りエッジが通常型のRS−FF11のセット端子S1に入力され、セット端子S1がHレベルに設定される。
Here, when the synchronization signal NSYNCin returns to the original L level before the count value of the
このとき、インバータ12により論理反転されたHレベルがNORゲート26を介してアップカウンタ248のクリア端子NClearにLレベルとなって供給されるので(t31)、アップカウンタ248はクリアされる(t33)。このとき、比較器252による比較一致出力(信号L)がインアクティブ=Lレベルのままであり、これがORゲート28の一方の入力端子に入力されるので、通常型のRS−FF11はセット端子S1がHレベル、リセット端子R1がLレベルとなり、セットされた状態となるが、それ以前はセット端子S1およびリセット端子R1がLレベルの変化なしの状態であり、事実上は、さらにそれ以前のセットされた状態を維持し、何らの変化が起きない。この状態は、同期信号NSYNCin がLレベルの間継続する。
At this time, the H level logically inverted by the
また、同期信号NSYNCin に次のノイズが含まれていて、アップカウンタ248のカウント値が比較器252の入力端子Bに設定されるデータ値Duとなる前にHレベル→Lレベルを繰り返す場合にも、上述したt20〜t33と同様の動作を繰り返す。
Further, when the synchronization signal NSYNCin includes the following noise and the H level → L level is repeated before the count value of the
アクティブローのパルス信号を取り扱っているので、アクティブ期間の開始時に存在するノイズ成分のHレベル期間が、後述する、アクティブロー期間の終了時の近傍に存在するノイズを監視するためのノイズゲート期間の設定幅より長くなることは殆ど考えられない。よって、再生対象のパルス信号(ここでは同期信号NSYNCin )のアクティブ期間の開始時の近傍に存在するノイズを確実に除去することができる。 Since the active low pulse signal is handled, the H level period of the noise component existing at the start of the active period is a noise gate period for monitoring noise existing near the end of the active low period, which will be described later. Longer than the set width is hardly conceivable. Therefore, it is possible to reliably remove noise existing in the vicinity of the start of the active period of the pulse signal to be reproduced (here, the synchronization signal NSYNCin).
次に、アクティブローの同期信号NSYNCin の立上りの遷移期間について説明する。同期信号NSYNCin の本来のLレベル期間がほぼ経過し、同期信号NSYNCin がHレベルになるときに、同期信号NSYNCin にノイズ(特にその立上りエッジ近傍で発生するチャタリングノイズ)が含まれていて(t35〜t46)、アップカウンタ248のカウント値が比較器252の入力端子Bに設定されるデータ値Duとなる前にHレベル→Lレベルを繰り返す場合にも、上述したt20〜t33と同様の動作を繰り返す。
Next, the rising transition period of the active-low synchronization signal NSYNCin will be described. When the original L level period of the synchronization signal NSYNCin has almost passed and the synchronization signal NSYNCin becomes H level, the synchronization signal NSYNCin contains noise (particularly chattering noise generated near the rising edge) (t35 to 35). t46) Even when the H level → L level is repeated before the count value of the
この後、同期信号NSYNCin のHレベルが安定して継続し、アップカウンタ248のカウント値が比較器252の入力端子Bに設定されるデータ値Du(本例では“9”)と一致すると(t50)、比較器252は、比較一致出力(信号L)をHレベルにする(S51〜t53)。
Thereafter, when the H level of the synchronization signal NSYNCin continues stably, the count value of the up counter 248 matches the data value Du (“9” in this example) set at the input terminal B of the comparator 252 (t50). The
このときには、通常型のRS−FF11は、セット端子S1がLレベルであるから、比較一致出力(信号L)がHレベルになると、これがORゲート28の一方の入力端子に入力されるので、通常型のRS−FF11は、セット端子S1がLレベルの状態でリセット端子R1にHレベルが入力され、その非反転出力端子QはLレベルに、反転出力端子NQはHレベルにリセットされる(t52)。これにより、同期信号NSYNCoutのネゲートエッジが生成される。
At this time, in the normal type RS-
また、この反転出力端子NQのHレベルの情報は、NORゲート26を介してアップカウンタ248をクリア状態に設定するために利用される。図示した例では、ゲート回路における遅延時間を意図的に長く表記しているため、t53ではカウンタ値がデータ値Du(本例では“9”)を超えて“Ah”以降までカウントアップしてからクリアしている(t54)。なお、実際の使用に当たっては、アップカウンタ248はデータ値Duまでカウントアップして停止する構成でもよいし、そのままカウント動作を継続し、再帰的にカウントアップを継続するものでもよい。
Further, the H level information of the inverting output terminal NQ is used for setting the up counter 248 to the clear state via the NOR
RS−FF10がリセットされた後、新たに同期信号NSYNCinがLレベルに遷移すると、上述したt15〜t51と同様な動作を繰り返す。
When the synchronization signal NSYNCin newly shifts to the L level after the RS-
これにより、通常型のRS−FF11の反転出力端子NQには、t16〜t52のアクティブ期間(本例ではLレベル期間)を有する同期信号NSYNCoutが出力される。アクティブローのパルス信号を取り扱っているので、アクティブ期間の終了時に存在するノイズ成分のHレベル期間は、ノイズ成分ではない本来のインアクティブ期間のHレベルと同じになる。 As a result, the synchronization signal NSYNCout having an active period (L level period in this example) from t16 to t52 is output to the inverting output terminal NQ of the normal type RS-FF11. Since active low pulse signals are handled, the H level period of the noise component present at the end of the active period is the same as the H level of the original inactive period that is not a noise component.
しかしながら、アクティブロー期間の終了時の近傍に存在するノイズを監視するためのノイズゲート期間(本例ではt45〜t50)の設定幅を想定されるノイズ成分のHレベル期間よりもある程度長く設定することで、ノイズ成分のHレベル期間が同期信号NSYNCoutに現われないようにすることができ、再生対象のパルス信号(ここでは同期信号NSYNCin )のアクティブ期間の終了時の近傍に存在するノイズを確実に除去することができる。 However, the set width of the noise gate period (t45 to t50 in this example) for monitoring the noise existing near the end of the active low period is set to be somewhat longer than the assumed H level period of the noise component. Thus, the H level period of the noise component can be prevented from appearing in the synchronization signal NSYNCout, and the noise present near the end of the active period of the pulse signal to be reproduced (here, the synchronization signal NSYNCin) is surely removed. can do.
なお、t16〜t52の期間幅は、第1実施形態と同様に、同期信号NSYNCin のネゲートエッジ(上記例では立上りエッジ)に存在するノイズの数によって影響を受けるが、アサートエッジ(上記例では立下りエッジ)を規定するt16は、同期信号NSYNCin のアサートエッジ(上記例では立下りエッジ)t15と1対1のものであるので、同期信号NSYNCin が持つアサートエッジの繰返周期を同期信号NSYNCoutにおいても維持することができる。 Note that the period width from t16 to t52 is affected by the number of noises present at the negated edge (rising edge in the above example) of the synchronization signal NSYNCin as in the first embodiment, but is asserted edge (rising edge in the above example). Since t16 defining the falling edge is one-to-one with the assertion edge (falling edge in the above example) t15 of the synchronization signal NSYNCin, the repetition cycle of the assertion edge possessed by the synchronization signal NSYNCin is defined in the synchronization signal NSYNCout. Can also be maintained.
よって、HレベルからLレベルに遷移するタイミングにのみ意味のある、アサートエッジが立下りエッジであるパルス信号にノイズが含まれている場合でも、その周期性を維持して再生することができる。すなわち、入力された周期パルスの波形の変わり初めで出力パルスの波形が変化し、周期パルスの位相、周波数、およびデューティを変えることなく、入力された周期パルスからノイズを除去することができる。 Therefore, even when noise is included in a pulse signal whose assert edge is a falling edge, which is meaningful only at the timing of transition from the H level to the L level, it can be reproduced while maintaining its periodicity. That is, the waveform of the output pulse changes at the beginning of the change of the waveform of the input periodic pulse, and noise can be removed from the input periodic pulse without changing the phase, frequency, and duty of the periodic pulse.
このように、比較器252を利用してノイズを監視するためのノイズゲート期間の設定幅を調整するように構成した第5実施形態においても、パルス信号(上記例では同期信号NSYNCin )のアサートエッジを起点として、再生パルスのアサートエッジを生成し、アクティブ(アサート)期間後のインアクティブ(ネゲート)期間がノイズゲート期間以上経過した後に再生パルスのネゲートエッジを生成することができ、パルス信号にノイズが重畳していた場合でも、アサートエッジの発生タイミング(周期パルスの場合には繰返周期)を維持しつつ、ノイズを除去したパルス信号を再生することができ、その結果、同期信号NSYNCoutを使用する回路の誤動作を防止できるなど、第1〜第4実施形態と同様の効果を享受できる。
As described above, in the fifth embodiment configured to adjust the setting width of the noise gate period for monitoring noise using the
また、第5実施形態においても、概ね第2実施形態と同様のタイミングで、同期信号NSYNCoutを生成することができる。つまり、比較一致出力(信号L)がt50(実際にはゲート遅延があるのでt51)でアクティブとなり、アップカウンタ248でカウントする時間を、同期信号NSYNCin のネゲート時間t45〜t60に対して短く設定すれば、アクティブローの同期信号NSYNCin の立上りの遷移期間においても、通常型のRS−FF11のセット入力とリセット入力とが同時にアサートされるのを回避することができる。
Also in the fifth embodiment, the synchronization signal NSYNCout can be generated at substantially the same timing as in the second embodiment. In other words, the comparison coincidence output (signal L) becomes active at t50 (t51 because there is actually a gate delay), and the time counted by the up
RS−FFとして、セット優先型あるいはリセット優先型のものを使用しない場合においても、回路を追加することなく、通常型のRS−FF11のセット端子S1とリセット端子R1がともにアサートされた状態となるのを確実に防止することができる。同期信号NSYNCin のネゲートからノイズゲート期間だけ遅れて同期信号NSYNCoutがネゲートされるものの、出力が不安定になることはない。
Even when the set priority type or the reset priority type is not used as the RS-FF, both the set terminal S1 and the reset terminal R1 of the normal type RS-
また、第4実施形態とは異なり、カウント値をクリアしてからカウントアップし、比較器252による比較一致出力(信号L)が得られるまでを利用してノイズゲート期間を設定することで、アップカウンタ248を用いているものの、第1実施形態と同様に、ノイズゲート期間を規定するデータ値Duの与え方が、ユーザにとって取り扱い易くなる。
Also, unlike the fourth embodiment, the count value is cleared and then counted up, and the noise gate period is set by using the time until the comparison match output (signal L) is obtained by the
何故なら、図13(B)に示すように、第5実施形態におけるノイズゲート期間Tnは、カウンタ値が、“ゼロ=0”から比較器252の一方の入力端子Bにセットされたデータ値Duとなるまでの期間(比較一致出力(信号L)がアクティブHとなるまで)であり、これはデータ値Duにカウントクロックの1周期T0を掛けた値に等しいからである。すなわち、第5実施形態においては、ユーザは、ノイズゲート期間Tnをカウントクロックの1周期T0で割った値Duをそのままダ比較器252の一方の入力端子Bにセットすればよい。
This is because, as shown in FIG. 13B, in the noise gate period Tn in the fifth embodiment, the counter value is the data value Du set at one input terminal B of the
加えて、第4実施形態と同様に、汎用ロジックICを使用する場合、アップカウンタの方が部品が多く、入手性や価格の点で有利となる。よって、汎用ロジックICを使用して回路を構成する場合、アップカウンタと比較器を組み合わせたこの第5実施形態は、部品入手性とユーザの取扱い易さを両立させることが可能となる。 In addition, as in the fourth embodiment, when the general-purpose logic IC is used, the up counter has more parts, which is advantageous in terms of availability and price. Therefore, when the circuit is configured using the general-purpose logic IC, the fifth embodiment in which the up counter and the comparator are combined can achieve both parts availability and ease of handling by the user.
ただし、比較器252にて、ノイズゲート期間の終縁を規定する比較一致出力(信号L)を生成する必要があるので、回路構成が複雑になる欠点はある。
However, since it is necessary for the
なおこの第5実施形態の説明では、再生対象のパルス信号(ここでは同期信号NSYNCin )のアクティブ期間の開始時や終了時の近傍に存在するノイズを監視するゲート期間、特に終縁タイミングを規定するカウンタとしてアップカウンタを利用した第4実施形態に対する変形例で示したが、これに限らず、ダウンカウンタを利用した場合に対しても同様に適用できる。 In the description of the fifth embodiment, a gate period for monitoring noise existing near the start and end of the active period of the pulse signal to be reproduced (here, the synchronization signal NSYNCin), particularly the end timing, is defined. Although a modification to the fourth embodiment using an up counter as a counter is shown, the present invention is not limited to this, and the present invention can be similarly applied to a case where a down counter is used.
ダウンカウンタを利用した場合には、ノイズゲート期間を規定するデータ値Ddの与え方が、ユーザにとって取り扱い難くなる。何故なら、図13(C)に示すように、ダウンカウンタを用いた場合には、カウント値を初期状態にするには“0”にクリアするのではなく、フルデータにプリセットする。そして、入力パルス信号がネゲートレベルにありかつ通常型のRS−FF11がセット状態にあるときに、フルデータからカウントダウンし、比較器252による比較一致出力(信号L)が得られるまでを利用してノイズゲート期間を設定する。
When the down counter is used, it is difficult for the user to provide the data value Dd that defines the noise gate period. This is because when a down counter is used as shown in FIG. 13C, the count value is preset to full data rather than being cleared to “0” in order to set the count value to the initial state. Then, when the input pulse signal is at the negate level and the normal type RS-
このため、ノイズゲート期間Tnは、カウンタ値が“フルデータ”からダウンカウンタのデータ端子Dataにセットされたデータ値Ddとなるまでの期間であり、これはデータ値Ddにカウントクロックの1周期T0を掛けた値と等しくならない。具体的には、フルデータを1周期T0のカウントクロックCLKでカウントしたときの全期間Tfullからノイズゲート期間Tnを差し引いた値ΔTを求め、この値ΔTをカウントクロックの1周期T0で割った値Ddを、ダウンカウンタのデータ端子Dataにセットする必要が生じる。 For this reason, the noise gate period Tn is a period from when the counter value reaches the data value Dd set at the data terminal Data of the down counter, which is equal to the data value Dd and one cycle T0 of the count clock. It is not equal to the value multiplied by. Specifically, a value ΔT obtained by subtracting the noise gate period Tn from the total period Tfull when the full data is counted by the count clock CLK of one cycle T0 is obtained, and this value ΔT is divided by one cycle T0 of the count clock. It is necessary to set Dd to the data terminal Data of the down counter.
以上、本発明を実施形態を用いて説明したが、本発明の技術的範囲は上記実施形態に記載の範囲には限定されない。発明の要旨を逸脱しない範囲で上記実施形態に多様な変更または改良を加えることができ、そのような変更または改良を加えた形態も本発明の技術的範囲に含まれる。 As mentioned above, although this invention was demonstrated using embodiment, the technical scope of this invention is not limited to the range as described in the said embodiment. Various changes or improvements can be added to the above-described embodiment without departing from the gist of the invention, and embodiments to which such changes or improvements are added are also included in the technical scope of the present invention.
また、上記の実施形態は、クレーム(請求項)にかかる発明を限定するものではなく、また実施形態の中で説明されている特徴の組合せの全てが発明の解決手段に必須であるとは限らない。前述した実施形態には種々の段階の発明が含まれており、開示される複数の構成要件における適宜の組合せにより種々の発明を抽出できる。実施形態に示される全構成要件から幾つかの構成要件が削除されても、効果が得られる限りにおいて、この幾つかの構成要件が削除された構成が発明として抽出され得る。 Further, the above embodiments do not limit the invention according to the claims (claims), and all combinations of features described in the embodiments are not necessarily essential to the solution means of the invention. Absent. The embodiments described above include inventions at various stages, and various inventions can be extracted by appropriately combining a plurality of disclosed constituent elements. Even if some constituent requirements are deleted from all the constituent requirements shown in the embodiment, as long as an effect is obtained, a configuration from which these some constituent requirements are deleted can be extracted as an invention.
たとえば、上記実施形態では、立下りエッジがアサートエッジであるパルス信号を例に説明したが、論理構成を逆にすることで、立上りエッジがアサートエッジであるパルス信号にも同様に適用できる。また、両エッジが有効な意味を持つパルス信号の場合には、それぞれのエッジをアサートエッジとした処理をし、それぞれで再生した再生パルスのアサートエッジに基づいて1つのパルスを再生するようにすれば対処できる。 For example, in the above-described embodiment, the pulse signal whose falling edge is the assert edge has been described as an example. However, the present invention can be similarly applied to a pulse signal whose rising edge is the assert edge by reversing the logical configuration. In the case of a pulse signal in which both edges have a valid meaning, the processing is performed with each edge as an assert edge, and one pulse is reproduced based on the asserted edge of the reproduction pulse reproduced at each edge. Can cope.
また、上記実施形態では、入力パルス信号がアサートされたときにノイズゲート(ノイズ除去対象)期間を設定し、かつノイズの有無の監視を開始するようにすることで、アサートエッジ近傍に発生するチャタリングなどのノイズを除去するようにしていたが、ノイズを監視する期間は、その他の期間に設定してもよい。たとえば、入力パルス信号がネゲートされてからノイズの有無の監視を開始するようにしてもよい。もちろん、特許文献1のように、隣接する2つのアサートエッジの途中に発生するノイズを除去するように設定してもよい。
In the above embodiment, when the input pulse signal is asserted, a noise gate (noise removal target) period is set, and monitoring for the presence or absence of noise is started, thereby causing chattering that occurs in the vicinity of the assert edge. However, the period for monitoring the noise may be set to other periods. For example, monitoring of the presence or absence of noise may be started after the input pulse signal is negated. Of course, as in
また、上記実施形態では、同期信号のエッジを検出し、そのエッジ近傍に生じるノイズで誤動作することがないような構成としたが、同期信号の間隔が事前に分かっている場合には、そのことを利用した構成を採ることができる。 Further, in the above embodiment, the edge of the synchronization signal is detected, and it is configured not to malfunction due to noise generated in the vicinity of the edge. However, if the interval of the synchronization signal is known in advance, It is possible to adopt a configuration using
たとえば、同期信号のアサートエッジでRS−FFをセットすると同時に、次に同期信号が入ってくる直前までの時間分をカウンタでカウントする。カウンタは、同期信号のアサートエッジ部分からカウントを開始するように構成することで、アサートエッジ後、ノイズを除去する対象期間としての次のアサートエッジに到達するまで、フリップフロップのリセット入力端子にリセット信号が入力されるのを禁止して、事実上、その間のノイズの有無の監視を開始するようにする。この場合、同期信号のエッジ部に含まれるノイズによる誤動作を防止すると同時に、同期信号に外部からノイズが重畳する結果生じる信号レベルの反転による誤動作をも防止することができる。 For example, the RS-FF is set at the assertion edge of the synchronization signal, and at the same time, the time until immediately before the next synchronization signal is input is counted by the counter. The counter is configured to start counting from the asserted edge part of the synchronization signal, so that it resets to the reset input terminal of the flip-flop until it reaches the next asserted edge as the target period for removing noise after the asserted edge. The input of a signal is prohibited, and monitoring of the presence or absence of noise in the meantime is started. In this case, it is possible to prevent malfunction due to noise included in the edge portion of the synchronization signal and at the same time to prevent malfunction due to inversion of the signal level resulting from noise superimposed on the synchronization signal from the outside.
また、上記実施形態では、RS−FFそのものを用いたが、出力をセットする信号が入力されるセット入力端子と出力をリセットする信号が入力されるリセット入力端子を有するフリップフロップであればよく、JK−FFなどを利用して、実質的にRS−FFとして動作させるようにしてもよい。 Moreover, in the said embodiment, although RS-FF itself was used, what is necessary is just a flip-flop which has the reset input terminal into which the signal which resets the set input terminal and the output which inputs the signal which sets an output is input, You may make it operate | move as RS-FF substantially using JK-FF etc.
また、上記第2,第3,第5の各実施形態では、優先性を持たない通常型のRS−FF11を使用したが、このことは必須ではなく、セット優先型のRS−FF10を使用しても何ら不都合は生じない。
In the second, third, and fifth embodiments, the normal type RS-
また、上記実施形態では、RS−FF10をリセットするために使用される信号Gをカウンタ回路を使用して生成していたが、入力パルス信号にノイズが存在せずにノイズゲート期間経過するか否かを監視することで信号Gを生成できればよく、その他の構成を採ることができる。一例としては、モノマルチバイブレータを利用したタイマ回路を使用することができる。あるいは、カウンタ回路やタイマ回路といったハードウェア構成によるものに限らず、ソフトウェアで監視するようにしてもよい。ハードウェア構成は、高速動作に適するので、繰返周期の短い高速パルスを処理対象とする場合に好適である。一方、ソフトウェア構成は、スケーラビリティに富んでいるので、繰返周期の長い低速パルスを処理対象とする場合に好適である。 Moreover, in the said embodiment, although the signal G used in order to reset RS-FF10 was produced | generated using the counter circuit, whether noise gate period passes without noise existing in an input pulse signal? It is only necessary that the signal G can be generated by monitoring the above, and other configurations can be adopted. As an example, a timer circuit using a mono multivibrator can be used. Alternatively, the monitoring is not limited to a hardware configuration such as a counter circuit or a timer circuit, and may be monitored by software. Since the hardware configuration is suitable for high-speed operation, it is suitable for processing a high-speed pulse with a short repetition period. On the other hand, since the software configuration is highly scalable, it is suitable for a case where a low-speed pulse having a long repetition cycle is to be processed.
1…パルス信号再生装置、10…セット優先型のRS−FF、11…通常型のRS−FF、20…リセット信号生成部、30…優先化回路、200…ボローパルス生成部、208…ダウンカウンタ、240…キャリーパルス生成部、248…アップカウンタ、250…論理比較部、252…比較器
DESCRIPTION OF
Claims (18)
出力をセットするセット信号が入力されるセット入力端子および出力をリセットするリセット信号が入力されるリセット入力端子を有するフリップフロップと、
前記入力パルス信号に含まれるノイズを監視するノイズ監視部と
を備え、
前記入力パルス信号がアサートされたときに前記セット信号を前記セット入力端子に供給して前記フリップフロップをセットし、この後、前記ノイズ監視部において前記ノイズが存在せずに前記ノイズを除去するノイズ除去対象期間が経過したときに前記リセット信号を前記リセット入力端子に供給して前記フリップフロップをリセットする
ことを特徴とするパルス信号再生装置。 A pulse signal regeneration device for removing noise contained in an input pulse signal,
A flip-flop having a set input terminal to which a set signal for setting an output is input and a reset input terminal to which a reset signal for resetting the output is input;
A noise monitoring unit that monitors noise included in the input pulse signal, and
The set signal is supplied to the set input terminal when the input pulse signal is asserted to set the flip-flop, and then the noise is removed in the noise monitoring unit without the noise. The pulse signal regeneration device, wherein the reset signal is supplied to the reset input terminal to reset the flip-flop when a removal target period has elapsed.
ことを特徴とする請求項1に記載のパルス信号再生装置。 The pulse signal reproducing apparatus according to claim 1, wherein the noise monitoring unit starts monitoring the presence or absence of the noise after the input pulse signal is negated.
ことを特徴とする請求項2に記載のパルス信号再生装置。 The pulse signal regeneration device according to claim 2, wherein the noise monitoring unit sets the noise removal target period when the input pulse signal is asserted.
ことを特徴とする請求項1〜3のうちの何れか1項に記載のパルス信号再生装置。 The pulse signal reproduction device according to claim 1, wherein the noise monitoring unit is configured to be able to arbitrarily set the noise removal target period.
ことを特徴とする請求項4に記載のパルス信号再生装置。 The pulse signal reproduction device according to claim 4, wherein the noise monitoring unit includes a setting circuit that sets the noise removal target period.
ことを特徴とする請求項4に記載のパルス信号再生装置。 The pulse signal reproduction device according to claim 4, wherein the noise monitoring unit sets the noise removal target period by software processing.
ことを特徴とする請求項1〜6のうちの何れか1項に記載のパルス信号再生装置。 The pulse signal regeneration device according to any one of claims 1 to 6, wherein the noise monitoring unit includes a counter that measures progress of the noise removal target period.
前記ノイズ監視部は、前記入力パルス信号がアサートされたときに前記ノイズゲートデータを前記カウンタのデータ入力端子に取り込む
ことを特徴とする請求項7に記載のパルス信号再生装置。 The counter has a data input terminal to which noise gate data for defining the noise removal target period is set,
The pulse signal reproduction device according to claim 7, wherein the noise monitoring unit takes in the noise gate data into a data input terminal of the counter when the input pulse signal is asserted.
ことを特徴とする請求項8に記載のパルス信号再生装置。 The counter is a down counter and activates a borrow output when the noise removal target period has elapsed without the presence of the noise, and supplies the borrow output as the reset signal to the reset input terminal. The pulse signal regeneration device according to claim 8, wherein the flip-flop is reset.
ことを特徴とする請求項8に記載のパルス信号再生装置。 The counter is an up counter, and activates a carry output when the noise removal target period has elapsed without the presence of the noise, and supplies the carry output to the reset input terminal as the reset signal. The pulse signal regeneration device according to claim 8, wherein the flip-flop is reset.
前記フリップフロップは、前記カウンタのカウント動作が停止された状態で、前記入力パルス信号のアサートに基づく前記セット信号を前記セット入力端子に受け付けることでセットされる
ことを特徴とする請求項9または10に記載のパルス信号再生装置。 The counter is configured to stop the count operation while the reset signal is supplied to the flip-flop when an initial state and the noise removal target period have elapsed,
The flip-flop is set by receiving the set signal based on the assertion of the input pulse signal at the set input terminal in a state where the counting operation of the counter is stopped. The pulse signal reproducing device described in 1.
ことを特徴とする請求項9〜11のうちの何れか1項に記載のパルス信号再生装置。 The pulse signal regeneration device according to any one of claims 9 to 11, wherein the flip-flop is a set priority type flip-flop.
前記フリップフロップは、前記カウンタのカウント動作が停止された状態で、前記入力パルス信号のアサートに基づく前記セット信号を前記セット入力端子に受け付けることでセットされる
ことを特徴とする請求項8に記載のパルス信号再生装置。 The counter resets the flip-flop by supplying the reset signal to the reset input terminal when the noise removal target period has elapsed without the presence of the noise, and the initial state and the noise. It is configured to stop the count operation in a state where the reset signal is not supplied to the reset input terminal after the removal target period has elapsed.
The flip-flop is set by receiving the set signal based on the assertion of the input pulse signal at the set input terminal in a state where the counting operation of the counter is stopped. Pulse signal regeneration device.
前記ノイズ監視部は、前記入力パルス信号がアサートレベルにあるときと前記フリップフロップが前記リセットの状態にあるときに、前記ノイズゲートデータを前記カウンタのデータ入力端子に取り込むように構成されている
ことを特徴とする請求項8に記載のパルス信号再生装置。 The counter supplies the reset signal to the reset input terminal of the flip-flop having no priority when the noise removal target period has passed without the presence of the noise, so that the flip-flop Configured to reset,
The noise monitoring unit is configured to capture the noise gate data into the data input terminal of the counter when the input pulse signal is at an assert level and when the flip-flop is in the reset state. The pulse signal reproducing device according to claim 8.
ことを特徴とする請求項13または14に記載のパルス信号再生装置。 The pulse signal reproducing device according to claim 13 or 14, wherein the counter is a down counter, and starts a counting operation from the set noise gate data during the noise removal target period.
前記カウンタは、前記入力パルス信号がアサートレベルにあるときと前記フリップフロップが前記リセットの状態にあるときにカウント値を初期状態に設定し、前記入力パルス信号がネゲートレベルにあり、かつ前記フリップフロップが前記セットの状態にあるときにカウント動作を行なうように構成されている
ことを特徴とする請求項7に記載のパルス信号再生装置。 The noise monitoring unit sets noise gate data for defining the noise removal target period, compares the count value of the counter with the set noise gate data, and the noise does not exist A logic comparison unit that determines that the count value of the counter coincides with the noise gate data when the noise removal target period has elapsed and supplies the reset signal to the reset input terminal of the flip-flop;
The counter sets a count value to an initial state when the input pulse signal is at an assert level and when the flip-flop is in the reset state, the input pulse signal is at a negate level, and the flip-flop The pulse signal reproducing device according to claim 7, wherein a count operation is performed when is in the set state.
ことを特徴とする請求項16に記載のパルス信号再生装置。 The pulse signal regeneration device according to claim 16, wherein the counter is an up counter, and starts a count operation from zero which is the initial state in the noise removal target period.
ことを特徴とする請求項13〜17に記載のパルス信号再生装置。
The pulse signal reproducing device according to claim 13, wherein the flip-flop is a flip-flop having no priority.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005058386A JP2006245977A (en) | 2005-03-03 | 2005-03-03 | Pulse signal reproducing apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005058386A JP2006245977A (en) | 2005-03-03 | 2005-03-03 | Pulse signal reproducing apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2006245977A true JP2006245977A (en) | 2006-09-14 |
Family
ID=37051914
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005058386A Pending JP2006245977A (en) | 2005-03-03 | 2005-03-03 | Pulse signal reproducing apparatus |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2006245977A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10425069B2 (en) | 2016-03-01 | 2019-09-24 | Denso Corporation | Signal output circuit |
Citations (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS56125641U (en) * | 1980-02-25 | 1981-09-24 | ||
JPS5875319A (en) * | 1981-10-29 | 1983-05-07 | Toshiba Corp | Signal processing circuit |
JPS62239610A (en) * | 1986-04-11 | 1987-10-20 | Nec Corp | Digital signal noise eliminating circuit |
JPS63220617A (en) * | 1987-03-10 | 1988-09-13 | Oki Electric Ind Co Ltd | Noise removing circuit |
JPH01143413A (en) * | 1987-11-30 | 1989-06-06 | Nec Corp | Chattering preventing circuit |
JPH01225216A (en) * | 1988-01-28 | 1989-09-08 | Hewlett Packard Co <Hp> | Formater circuit |
JPH052827A (en) * | 1990-11-22 | 1993-01-08 | Olympus Optical Co Ltd | Information recording and reproducing device |
JPH07210340A (en) * | 1994-01-26 | 1995-08-11 | Fuji Xerox Co Ltd | Synchronizing signal guaranteeing device |
JPH0888549A (en) * | 1994-09-16 | 1996-04-02 | Mitsubishi Denki Semiconductor Software Kk | Semiconductor integrated circuit |
JPH0993097A (en) * | 1995-09-25 | 1997-04-04 | Olympus Optical Co Ltd | Noise removing circuit device |
JPH1070444A (en) * | 1996-04-09 | 1998-03-10 | Samsung Electron Co Ltd | Digital noise filter |
JPH10145197A (en) * | 1996-11-11 | 1998-05-29 | Nec Corp | Input signal read circuit |
JPH11127071A (en) * | 1997-10-23 | 1999-05-11 | Nec Corp | Input circuit for lsi and digital electronic device |
JPH11261387A (en) * | 1998-03-10 | 1999-09-24 | Mitsubishi Electric Corp | Control signal sharing device |
JPH11298307A (en) * | 1998-04-09 | 1999-10-29 | Fujitsu Ltd | Semiconductor device |
JP2000049577A (en) * | 1998-07-28 | 2000-02-18 | Matsushita Electric Ind Co Ltd | Noise filter and semi-conductor integrated circuit |
JP2002314386A (en) * | 2001-04-04 | 2002-10-25 | Hynix Semiconductor Inc | Noise elimination circuit and chip reset signal generator circuit utilizing the same |
-
2005
- 2005-03-03 JP JP2005058386A patent/JP2006245977A/en active Pending
Patent Citations (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS56125641U (en) * | 1980-02-25 | 1981-09-24 | ||
JPS5875319A (en) * | 1981-10-29 | 1983-05-07 | Toshiba Corp | Signal processing circuit |
JPS62239610A (en) * | 1986-04-11 | 1987-10-20 | Nec Corp | Digital signal noise eliminating circuit |
JPS63220617A (en) * | 1987-03-10 | 1988-09-13 | Oki Electric Ind Co Ltd | Noise removing circuit |
JPH01143413A (en) * | 1987-11-30 | 1989-06-06 | Nec Corp | Chattering preventing circuit |
JPH01225216A (en) * | 1988-01-28 | 1989-09-08 | Hewlett Packard Co <Hp> | Formater circuit |
JPH052827A (en) * | 1990-11-22 | 1993-01-08 | Olympus Optical Co Ltd | Information recording and reproducing device |
JPH07210340A (en) * | 1994-01-26 | 1995-08-11 | Fuji Xerox Co Ltd | Synchronizing signal guaranteeing device |
JPH0888549A (en) * | 1994-09-16 | 1996-04-02 | Mitsubishi Denki Semiconductor Software Kk | Semiconductor integrated circuit |
JPH0993097A (en) * | 1995-09-25 | 1997-04-04 | Olympus Optical Co Ltd | Noise removing circuit device |
JPH1070444A (en) * | 1996-04-09 | 1998-03-10 | Samsung Electron Co Ltd | Digital noise filter |
JPH10145197A (en) * | 1996-11-11 | 1998-05-29 | Nec Corp | Input signal read circuit |
JPH11127071A (en) * | 1997-10-23 | 1999-05-11 | Nec Corp | Input circuit for lsi and digital electronic device |
JPH11261387A (en) * | 1998-03-10 | 1999-09-24 | Mitsubishi Electric Corp | Control signal sharing device |
JPH11298307A (en) * | 1998-04-09 | 1999-10-29 | Fujitsu Ltd | Semiconductor device |
JP2000049577A (en) * | 1998-07-28 | 2000-02-18 | Matsushita Electric Ind Co Ltd | Noise filter and semi-conductor integrated circuit |
JP2002314386A (en) * | 2001-04-04 | 2002-10-25 | Hynix Semiconductor Inc | Noise elimination circuit and chip reset signal generator circuit utilizing the same |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10425069B2 (en) | 2016-03-01 | 2019-09-24 | Denso Corporation | Signal output circuit |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6273126B2 (en) | AD converter, solid-state imaging device, and imaging system | |
JP5401180B2 (en) | Digital noise filter circuit | |
TW201322634A (en) | Debounce apparatus and method thereof | |
JP2006245977A (en) | Pulse signal reproducing apparatus | |
JP4007027B2 (en) | Power-on reset circuit | |
JP2004357450A (en) | Pwm circuit and micro controller | |
JP2009118449A (en) | Circuit and method for clock data recovery for highly integrated system | |
JP2013077939A (en) | Electronic circuit | |
JP2010011389A (en) | Frequency divider | |
JP2005176448A (en) | Pwm signal generating circuit | |
JP2012161061A (en) | Digital filter circuit | |
US7696801B2 (en) | Reset method for clock triggering digital circuit and related signal generating apparatus utilizing the reset method | |
JP2002271427A (en) | Noise removing circuit | |
WO2019073840A1 (en) | Logic circuit, sequential circuit, power supply control circuit, and switching power supply device | |
JP2011055118A (en) | Spread spectrum clock generation device | |
JP2013115529A (en) | Clock frequency dividing apparatus | |
JP2009027335A (en) | Filter circuit and method | |
JP2005026757A (en) | Clock switching circuit and image processing apparatus employing the same | |
JP2006352240A (en) | Digital signal output device and method | |
JP5445804B2 (en) | Audio signal relay circuit and audio signal relay method | |
JP2008199277A (en) | Clock control circuit, integrated circuit device, and electronic apparatus | |
JP2008005279A (en) | Clock switching circuit | |
JP2004200837A (en) | Noise rejection method, noise canceller and program | |
JP2012156919A (en) | Image formation apparatus | |
JP2722912B2 (en) | Alarm signal adjustment circuit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20080221 |
|
RD01 | Notification of change of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7421 Effective date: 20091009 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20101022 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20101104 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20101210 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110831 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20111025 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20120604 |