JP5162877B2 - Asynchronous clock switching device, noise cancellation circuit, noise cancellation method and program - Google Patents

Asynchronous clock switching device, noise cancellation circuit, noise cancellation method and program Download PDF

Info

Publication number
JP5162877B2
JP5162877B2 JP2006283211A JP2006283211A JP5162877B2 JP 5162877 B2 JP5162877 B2 JP 5162877B2 JP 2006283211 A JP2006283211 A JP 2006283211A JP 2006283211 A JP2006283211 A JP 2006283211A JP 5162877 B2 JP5162877 B2 JP 5162877B2
Authority
JP
Japan
Prior art keywords
clock
pulse width
masking
clock signal
circuit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2006283211A
Other languages
Japanese (ja)
Other versions
JP2008103863A (en
Inventor
克尚 池内
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP2006283211A priority Critical patent/JP5162877B2/en
Publication of JP2008103863A publication Critical patent/JP2008103863A/en
Application granted granted Critical
Publication of JP5162877B2 publication Critical patent/JP5162877B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、クロック非同期切替装置およびノイズキャンセル回路ならびにノイズキャンセル方法およびプログラムに関し、特に移動通信システムの交換機装置に用いられる二重化(アクティブ系(ACTIVE)およびスタンバイ系(STANDBY))構成におけるクロック非同期切替装置およびノイズキャンセル回路ならびにノイズキャンセル方法およびプログラムに関する。   The present invention relates to a clock asynchronous switching device, a noise canceling circuit, a noise canceling method, and a program, and more particularly to a clock asynchronous switching device in a dual (active (ACTIVE) and standby (STANDBY)) configuration used in a switching system of a mobile communication system. The present invention relates to a noise cancellation circuit, a noise cancellation method, and a program.

図8は従来のクロック非同期切替装置の一例の構成図である。これは移動通信システムの交換機装置に用いられる二重化(アクティブ系(ACTIVE)およびスタンバイ系(STANDBY))構成におけるクロック非同期切替装置の一例を示している。   FIG. 8 is a block diagram of an example of a conventional clock asynchronous switching device. This shows an example of a clock asynchronous switching device in a duplex (active system (ACTIVE) and standby system (STANDBY)) configuration used for an exchange apparatus of a mobile communication system.

同図を参照すると、クロック非同期切替装置1は、LSI(large scale integrated circuit)カード基板10と、半導体デバイス装置20と、デジタル信号処理装置(DSP:digital signal processor)30とを含んで構成される。   Referring to FIG. 1, the clock asynchronous switching device 1 includes an LSI (large scale integrated circuit) card substrate 10, a semiconductor device device 20, and a digital signal processing device (DSP: digital signal processor) 30. .

また、LSIカード基板10はデータ通信制御バス(ACTIVE系)11と、データ通信制御バス(STANDBY系)12と、選択部(SELECT)13とを含んで構成される。   The LSI card substrate 10 includes a data communication control bus (ACTIVE system) 11, a data communication control bus (STANDBY system) 12, and a selection unit (SELECT) 13.

また、クロック非同期切替装置1の入力側にはデータ通信制御バスフォーマット生成カード(ACTIVE系)40とデータ通信制御バスフォーマット生成カード(STANDBY系)50とが設けられ、これらのカードはそれぞれ制御バスフレームを生成および出力する。この制御バスフレームはACTIVE系とSTANDBY系との間で同期が取れている。   Further, a data communication control bus format generation card (ACTIVE system) 40 and a data communication control bus format generation card (STANDBY system) 50 are provided on the input side of the clock asynchronous switching device 1, and each of these cards has a control bus frame. Is generated and output. This control bus frame is synchronized between the ACTIVE system and the STANDBY system.

一方、LSIカード基板10内のデータ通信制御バス(ACTIVE系)11およびデータ通信制御バス(STANDBY系)12では、制御バスフレームからクロックフィールドを一定のサンプリングクロックc1(周波数y(kHz))でサンプリングしてそれぞれ生成クロックc2(周波数x(kHz))およびc4(周波数x(kHz))を生成する。このように、サンプリングクロックc1の周波数はACTIVE系とSTANDBY系で同一に設定されている。   On the other hand, in the data communication control bus (ACTIVE system) 11 and the data communication control bus (STANDBY system) 12 in the LSI card substrate 10, the clock field is sampled from the control bus frame at a constant sampling clock c1 (frequency y (kHz)). The generated clocks c2 (frequency x (kHz)) and c4 (frequency x (kHz)) are respectively generated. Thus, the frequency of the sampling clock c1 is set to be the same in the ACTIVE system and the STANDBY system.

この生成クロックc2およびc4のいずれかが選択部(SELECT)13で選択され、クロックc5bとして出力される。   One of the generated clocks c2 and c4 is selected by the selection unit (SELECT) 13, and is output as the clock c5b.

そのクロックc5bは出力半導体デバイス装置20へ供給される。また、半導体デバイス装置20からはクロックc5bに対応するクロックc5aがデジタル信号処理装置(DSP)30へ出力される。   The clock c5b is supplied to the output semiconductor device device 20. The semiconductor device device 20 outputs a clock c5a corresponding to the clock c5b to the digital signal processing device (DSP) 30.

このように、ACTIVE系およびSTANDBY系の物理構成および機能は同一である。そのため、いずれかの系に障害が発生しても、他方の系で機能を補完し、交換機がスタック(stuck)しないように構成されている。この機能を補完する際に、系切替という作業が行われる。しかし、この系切替は非同期で行われる。   Thus, the physical configuration and function of the ACTIVE system and the STANDBY system are the same. For this reason, even if a failure occurs in one of the systems, the function is complemented in the other system so that the exchange does not stack. When complementing this function, work called system switching is performed. However, this system switching is performed asynchronously.

一方、クロック信号切替えの従来技術の例が特許文献1〜3に記載されている。特許文献1には、制御信号生成回路が、選択原信号に基づいて、各クロック信号を数パルス分停止させる停止制御信号を生成するとともに、遅延選択信号を生成し、クロック切替回路が、これら信号に基づいて、各クロック信号を数パルス分停止させている間に、選択系を切り替える発明が記載されている。
また、特許文献2には、抽出回路が、選択信号に基づいて、クロック信号A又はBの一方を切替え出力し、出力制御回路が、抽出回路出力中の短い幅のパルスを、第1及び第2検出回路で選択信号をトリガとして生成された信号で抑制する発明が記載されている。
また、特許文献3には、アナログ積分回路により、クロック非同期切替え出力信号中のハザードを除去する発明が記載されている。
On the other hand, Patent Documents 1 to 3 describe examples of conventional techniques for clock signal switching . In Patent Document 1, a control signal generation circuit generates a stop control signal for stopping each clock signal by several pulses based on the selected original signal, and also generates a delay selection signal. Based on the above, there is described an invention in which the selection system is switched while each clock signal is stopped for several pulses .
Further, in Patent Document 2, the extraction circuit switches and outputs one of the clock signals A or B based on the selection signal, and the output control circuit outputs a short-width pulse in the output of the extraction circuit as the first and first pulses. An invention is described in which a two-detection circuit suppresses a selection signal with a signal generated as a trigger.
Patent Document 3 describes an invention in which hazards in a clock asynchronous switching output signal are removed by an analog integration circuit.

特開2001−332961号公報(段落0020〜0026および図1〜図5)JP 2001-332961 A (paragraphs 0020 to 0026 and FIGS. 1 to 5) 特開平10−154021号公報Japanese Patent Laid-Open No. 10-154021 特許第2789811号公報Japanese Patent No. 2789811

しかし、この種のクロック非同期切替装置ではクロックフィールドをサンプリングするサンプリングクロックc1(ACTIVE系)とサンプリングクロックc3(STANDBY系)との間で同期が取れていないため、系切替の瞬間にハザードレベルのノイズ(以下、「ハザードノイズ」と記す)が発生するおそれがある。   However, since this type of clock asynchronous switching device is not synchronized between the sampling clock c1 (ACTIVE system) for sampling the clock field and the sampling clock c3 (STANDBY system), noise at the hazard level at the moment of system switching. (Hereinafter referred to as “hazard noise”) may occur.

一方、ハザードノイズが発生するタイミングは系切替を行った瞬間のみで、それ以降は正常な信号が供給される。しかし、実際にはサンプリングの結果得られるクロックc5bを使用して様々な交換制御を行う後段の半導体デバイス装置20は、ハザードノイズを一度認識すると誤った時刻情報を生成し、デジタル信号処理装置(DSP)30に伝える。このため、デジタル信号処理装置(DSP)30は正しい時間軸で処理を行うことができなくなり、システム異常となる。   On the other hand, the timing at which hazard noise occurs is only at the moment of system switching, and a normal signal is supplied thereafter. However, the semiconductor device device 20 in the subsequent stage that performs various exchange control using the clock c5b obtained as a result of sampling actually generates erroneous time information once the hazard noise is recognized, and the digital signal processing device (DSP) ) Tell 30. For this reason, the digital signal processing device (DSP) 30 cannot perform processing on the correct time axis, resulting in a system abnormality.

すなわち、従来の移動通信システムの交換機装置において、二重化を構成している物理カード間で同期が取れていない現状が背景にある。プログラム的に系切替を行うだけならまだしも、障害となったカードを抜いたり、新しいカードを挿したりする作業は人為的に行うもので、そのタイミングまでを考慮して同期を取るためには、非常に複雑な回路を構成しなくてはならない。   In other words, in the conventional switching system of a mobile communication system, there is a background in which synchronization is not established between physical cards constituting a duplex. If you only need to switch the system programmatically, the task of removing the faulty card or inserting a new card is done artificially. A complicated circuit must be constructed.

一方、特許文献1〜3記載の発明は、複数系統のクロック信号の位相差に制限がない場合でも適用できるクロック非同期切り替え時のハザードノイズキャンセル回路であるのに対し、本発明は複数系統のクロック信号の位相差最大値に制限がある場合のクロック非同期切り替え時のハザードノイズキャンセル回路である。   On the other hand, the inventions described in Patent Documents 1 to 3 are hazard noise cancellation circuits at the time of asynchronous clock switching that can be applied even when there is no limitation on the phase difference between the clock signals of a plurality of systems. This is a hazard noise cancellation circuit at the time of asynchronous clock switching when there is a limit to the maximum value of the signal phase difference.

また、本発明は入力クロックが低レベルの時にノイズパルスの立ち上がりを検出すると、そのノイズパルスの高レベルを入力クロックが高レベルに変化するまで保持する(これを本発明では「マスクする」と表示する)ところに特徴があるのに対し、特許文献1〜3のいずれにもそのような構成は全く開示されていない。   In addition, when the rising edge of the noise pulse is detected when the input clock is at a low level, the present invention holds the high level of the noise pulse until the input clock changes to a high level (this is indicated as “mask” in the present invention). However, none of Patent Documents 1 to 3 discloses such a configuration.

このように、特許文献1〜3記載の発明に、位相差最大値に制限がある複数系統のクロック信号の切替えを、ハザードノイズをキャンセルして行う技術は全く開示されていない。 As described above, the inventions described in Patent Documents 1 to 3 do not disclose any technique for switching the clock signals of a plurality of systems having a limit on the maximum phase difference value by canceling the hazard noise.

そこで本発明の目的は、クロックフィールドをサンプリングするサンプリングクロックがACTIVE系とSTANDBY系とで同期が取れていない場合でも、系切替時におけるハザードノイズの発生を防止することが可能なクロック非同期切替装置およびノイズキャンセル回路ならびにノイズキャンセル方法およびプログラムを提供することにある。   Therefore, an object of the present invention is to provide a clock asynchronous switching device capable of preventing the occurrence of hazard noise during system switching even when the sampling clock for sampling the clock field is not synchronized between the ACTIVE system and the STANDBY system, and It is an object to provide a noise canceling circuit, a noise canceling method, and a program.

前記課題を解決するために本発明によるクロック非同期切替装置は、複数のクロック信号のうちのいずれかを非同期タイミングで選択して出力するクロック非同期切替装置であって、前記複数のクロック信号は周波数が等しく非同期の異なるサンプリングクロックを基に生成される信号であり、選択されたクロック信号のレベル変化を監視し、レベル変化後のパルス幅が前記サンプリングクロックの一周期以下か否かを監視するパルス幅監視手段と、前記パルス幅監視手段での監視結果に応じて前記選択されたクロック信号をマスクするマスク手段とを含むことを特徴とする。   In order to solve the above problem, a clock asynchronous switching device according to the present invention is a clock asynchronous switching device that selects and outputs one of a plurality of clock signals at an asynchronous timing, and the plurality of clock signals have a frequency. A pulse width that is generated based on different sampling clocks that are equal and asynchronous, monitors the level change of the selected clock signal, and monitors whether the pulse width after the level change is equal to or less than one period of the sampling clock. And a masking unit for masking the selected clock signal in accordance with a monitoring result of the pulse width monitoring unit.

また本発明によるノイズキャンセル回路は、複数のクロック信号のうちのいずれかを非同期タイミングで選択して出力するクロック非同期切替装置のノイズキャンセル回路であって、前記複数のクロック信号は周波数が等しく非同期の異なるサンプリングクロックを基に生成される信号であり、選択されたクロック信号のレベル変化を監視し、レベル変化後のパルス幅が前記サンプリングクロックの一周期以下か否かを監視するパルス幅監視手段と、前記パルス幅監視手段での監視結果に応じて前記選択されたクロック信号をマスクするマスク手段とを含むことを特徴とする。   The noise cancellation circuit according to the present invention is a noise cancellation circuit of a clock asynchronous switching device that selects and outputs one of a plurality of clock signals at an asynchronous timing, and the plurality of clock signals are equal in frequency and asynchronous. Pulse width monitoring means that is a signal generated based on a different sampling clock, monitors the level change of the selected clock signal, and monitors whether the pulse width after the level change is equal to or less than one period of the sampling clock; Masking means for masking the selected clock signal in accordance with the monitoring result of the pulse width monitoring means.

また本発明によるノイズキャンセル方法は、複数のクロック信号のうちのいずれかを非同期タイミングで選択して出力するクロック非同期切替装置のノイズキャンセル方法であって、前記複数のクロック信号は周波数が等しく非同期の異なるサンプリングクロックを基に生成される信号であり、選択されたクロック信号のレベル変化を監視し、レベル変化後のパルス幅が前記サンプリングクロックの一周期以下か否かを監視するパルス幅監視ステップと、前記パルス幅監視ステップでの監視結果に応じて前記選択されたクロック信号をマスクするマスクステップとを含むことを特徴とする。   The noise canceling method according to the present invention is a noise canceling method of a clock asynchronous switching device that selects and outputs one of a plurality of clock signals at an asynchronous timing, and the plurality of clock signals are equal in frequency and asynchronous. A pulse width monitoring step that is a signal generated based on a different sampling clock, monitors a level change of the selected clock signal, and monitors whether the pulse width after the level change is equal to or less than one period of the sampling clock; And a masking step of masking the selected clock signal in accordance with a monitoring result in the pulse width monitoring step.

また本発明によるプログラムは、複数のクロック信号のうちのいずれかを非同期タイミングで選択して出力するクロック非同期切替装置のノイズキャンセル方法のプログラムであって、前記複数のクロック信号は周波数が等しく非同期の異なるサンプリングクロックを基に生成される信号であり、コンピュータに、選択されたクロック信号のレベル変化を監視し、レベル変化後のパルス幅が前記サンプリングクロックの一周期以下か否かを監視するパルス幅監視ステップと、
前記パルス幅監視ステップでの監視結果に応じて前記選択されたクロック信号をマスクするマスクステップとを実行させるためのプログラムであることを特徴とする。
A program according to the present invention is a program for a noise cancellation method for a clock asynchronous switching device that selects and outputs one of a plurality of clock signals at an asynchronous timing, and the plurality of clock signals are equal in frequency and asynchronous. This is a signal generated based on a different sampling clock, and the computer monitors the level change of the selected clock signal and monitors whether the pulse width after the level change is equal to or less than one period of the sampling clock. A monitoring step;
It is a program for executing a mask step for masking the selected clock signal in accordance with a monitoring result in the pulse width monitoring step.

次に、本発明の作用を述べる。ハザードノイズが発生するタイミングは系切替を行った瞬間のみで、それ以降は正常な信号が供給される。したがって、ハザードノイズのパルス幅はサンプリングクロックの一周期以下の長さに限定される。   Next, the operation of the present invention will be described. The timing at which hazard noise occurs is only at the moment of system switching, and a normal signal is supplied thereafter. Therefore, the pulse width of the hazard noise is limited to a length not longer than one period of the sampling clock.

本発明では、一例として、低レベルの時刻表示用クロックが入力している場合に系切り替えが行われ、その後、そのクロックの立ち上がりが検出される場合を考える。この場合、そのクロックのパルス幅がサンプリングクロックの一周期以下の長さであればそれはハザードノイズと判定することが可能である。そこで、そのクロックがハザードノイズと判定された場合、その立ち上がりパルスの高レベルを時刻表示用クロックが次回高レベルに変化するまで保持(マスク)する。   In the present invention, as an example, a case is considered in which system switching is performed when a low-level time display clock is input, and then the rising edge of the clock is detected. In this case, if the pulse width of the clock is not more than one period of the sampling clock, it can be determined as hazard noise. Therefore, when the clock is determined to be hazard noise, the high level of the rising pulse is held (masked) until the time display clock changes to the high level next time.

時刻表示用クロックの立ち上がり数に着目すると、ハザードノイズが1個発生すると、時刻表示用クロックの立ち上がり数は1個増加する。したがって、本発明によりハザードノイズの高レベルを時刻表示用クロックが次回高レベルに変化するまで保持(マスク)することにより、この時刻表示用クロックの立ち上がり数を1個減少させることができ、これにより時刻表示用クロックをハザードノイズが発生しない場合と同等に取り扱うことが可能となる。   Focusing on the number of rises of the time display clock, when one hazard noise occurs, the number of rises of the time display clock increases by one. Therefore, by holding (masking) the high level of hazard noise until the time display clock changes to the next high level according to the present invention, the number of rising edges of the time display clock can be reduced by one. The time display clock can be handled in the same manner as when no hazard noise occurs.

本発明によれば、クロックフィールドをサンプリングするサンプリングクロックがACTIVE系とSTANDBY系とで同期が取れていない場合でも、系切替時におけるハザードノイズの発生を防止することが可能となる。   According to the present invention, even when the sampling clock for sampling the clock field is not synchronized between the ACTIVE system and the STANDBY system, it is possible to prevent the occurrence of hazard noise during system switching.

以下、本発明の実施例について添付図面を参照しながら説明する。本発明は、図8のクロック非同期切替装置1内の半導体デバイス装置20内にハザードノイズを防止するためのノイズキャンセル回路21を含んでいる。   Embodiments of the present invention will be described below with reference to the accompanying drawings. The present invention includes a noise cancellation circuit 21 for preventing hazard noise in the semiconductor device device 20 in the clock asynchronous switching device 1 of FIG.

図1は本発明に係るノイズキャンセル回路の一例の構成図である。同図を参照すると、本発明に係るノイズキャンセル回路21の一例は、フリップ・フロップ22および23と、カウンタ回路24と、フリップ・フロップ25と、制御部26と、記憶部27とを含んで構成される。フリップ・フロップ22,23および25は一例としてDフリップ・フロップ回路で構成される。   FIG. 1 is a block diagram of an example of a noise cancellation circuit according to the present invention. Referring to the figure, an example of the noise cancellation circuit 21 according to the present invention includes flip-flops 22 and 23, a counter circuit 24, a flip-flop 25, a control unit 26, and a storage unit 27. Is done. The flip-flops 22, 23 and 25 are constituted by D flip-flop circuits as an example.

また、カウンタ回路24は排他的論理和回路(以下、「EX・OR回路」と表示する)28と、カウントアップ部29と、ノイズマスク回路35とを含んで構成される。カウントアップ部29は一例として複数のDフリップ・フロップから構成される。   The counter circuit 24 includes an exclusive OR circuit (hereinafter referred to as “EX / OR circuit”) 28, a count-up unit 29, and a noise mask circuit 35. As an example, the count-up unit 29 includes a plurality of D flip-flops.

フリップ・フロップ22、23、25および29のCLK端子には共通のシステムクロックc6が入力される。また、フリップ・フロップ22の入力端子DにはLSIカード基板10からの入力クロックc5bが時刻表示用クロックとして入力される。この入力クロックc5bは生成クロックc2(周波数x(kHz))および生成クロックc4(周波数x(kHz))のうち、選択された方のクロックと同等であり一例としてハザードノイズを含んでいる。   A common system clock c6 is input to the CLK terminals of the flip-flops 22, 23, 25 and 29. An input clock c5b from the LSI card substrate 10 is input to the input terminal D of the flip-flop 22 as a time display clock. The input clock c5b is equivalent to the selected clock of the generated clock c2 (frequency x (kHz)) and the generated clock c4 (frequency x (kHz)), and includes hazard noise as an example.

フリップ・フロップ22の出力端子Qはフリップ・フロップ23の入力端子DおよびEX・OR回路28の一方の入力端子に接続される。   The output terminal Q of the flip-flop 22 is connected to the input terminal D of the flip-flop 23 and one input terminal of the EX / OR circuit 28.

また、フリップ・フロップ23の出力端子QはEX・OR回路28の他方の入力端子に接続されるとともにノイズマスク回路35の一方の入力端子に接続される。   The output terminal Q of the flip-flop 23 is connected to the other input terminal of the EX / OR circuit 28 and to one input terminal of the noise mask circuit 35.

EX・OR回路28の出力端子はフリップ・フロップ29の一部を構成する初段フリップ・フロップの入力端子Dに入力される。   The output terminal of the EX / OR circuit 28 is inputted to the input terminal D of the first stage flip-flop constituting a part of the flip-flop 29.

フリップ・フロップ29の他の一部を構成する最終段フリップ・フロップの出力端子Qはノイズマスク回路35の他方の入力端子に接続される。ノイズマスク回路35の出力端子はフリップ・フロップ25の入力端子Dに接続される。   The output terminal Q of the final stage flip-flop constituting the other part of the flip-flop 29 is connected to the other input terminal of the noise mask circuit 35. The output terminal of the noise mask circuit 35 is connected to the input terminal D of the flip-flop 25.

フリップ・フロップ25の出力端子Qからはノイズキャンセル後のクロック(時刻表示用クロック)c5aが出力される。   From the output terminal Q of the flip-flop 25, a noise-canceled clock (time display clock) c5a is output.

すなわち、フリップ・フロップ22の入力端子Dにノイズキャンセル前の時刻表示用クロックc5bが入力され、フリップ・フロップ25の出力端子Qからノイズキャンセル後の時刻表示用クロックc5aが出力される構成である。   In other words, the time display clock c5b before noise cancellation is input to the input terminal D of the flip-flop 22, and the time display clock c5a after noise cancellation is output from the output terminal Q of the flip-flop 25.

また、記憶部27には後述するノイズキャンセル方法のプログラムが格納されている。制御部26は記憶部27からノイズキャンセル方法のプログラムを読み出し、そのプログラムに従ってカウンタ回路24を制御する。   The storage unit 27 stores a program for a noise cancellation method described later. The control unit 26 reads out a noise cancellation method program from the storage unit 27 and controls the counter circuit 24 according to the program.

次に、ハザードノイズが発生する過程について説明する。図2および図3はハザードノイズが発生する過程の一例を示すタイミングチャートである。   Next, a process in which hazard noise occurs will be described. 2 and 3 are timing charts showing an example of a process in which hazard noise occurs.

図2を参照すると、同図(A)はサンプリングクロックc1(ACTIVE系)の波形、同図(B)は生成クロックc2(ACTIVE系)の波形、同図(C)はサンプリングクロックc3(STANDBY系)の波形、同図(D)は生成クロックc4(STANDBY系)の波形、同図(E)は半導体デバイス装置20への入力クロックc5bの波形をそれぞれ示している。   Referring to FIG. 2, (A) shows the waveform of the sampling clock c1 (ACTIVE system), (B) shows the waveform of the generated clock c2 (ACTIVE system), and (C) shows the sampling clock c3 (STANDBY system). (D) shows the waveform of the generated clock c4 (STANDBY system), and (E) shows the waveform of the input clock c5b to the semiconductor device device 20, respectively.

生成クロックc2およびc4の周波数をx(kHz)、周期をTx(msec)、Dutyを50%とする。したがって、半導体デバイス装置20に入力されるクロック(時刻表示用クロック)c5bの周波数、周期およびDutyもそれぞれx(kHz),Tx(msec),50%となる。   The frequency of the generated clocks c2 and c4 is x (kHz), the period is Tx (msec), and the duty is 50%. Therefore, the frequency, period, and duty of the clock (time display clock) c5b input to the semiconductor device device 20 are also x (kHz), Tx (msec), and 50%, respectively.

また、サンプリングクロックc1およびc3の周波数は両系で共通であり、その周波数をy(kHz)とする。一方、サンプリングクロックc1およびc3の周期Ty(msec)は時刻表示用クロックc5bの周期Txよりも十分短く設定されている。   The frequencies of the sampling clocks c1 and c3 are common to both systems, and the frequency is y (kHz). On the other hand, the cycle Ty (msec) of the sampling clocks c1 and c3 is set sufficiently shorter than the cycle Tx of the time display clock c5b.

しかし、同図(A)および(C)から分かるように、両系間でサンプリングクロックの同期が取れていないため、両系間でサンプリングクロックに周期Ty(msec)以内の位相差が発生する。同図(A)はこの位相差が比較的小さい場合を示し、図3は位相差が最大の場合を示している。   However, as can be seen from FIGS. 3A and 3C, the sampling clocks are not synchronized between the two systems, so that a phase difference within a cycle Ty (msec) occurs in the sampling clocks between the two systems. FIG. 3A shows a case where the phase difference is relatively small, and FIG. 3 shows a case where the phase difference is maximum.

図2はサンプリングクロックc1のパルスの立下りからt1(msec)後にACTIVE系からSTANDBY系へクロックの切り替えが行われ、生成クロックが同図(B)に示す生成クロックc2から同図(D)に示す生成クロックc4に切り替えられた一例を示している。このとき、同図(E)の入力クロックc5bにハザードノイズパルスp1が発生する。このハザードノイズパルスp1のパルス幅をt2とする。   In FIG. 2, the clock is switched from the ACTIVE system to the STANDBY system after t1 (msec) from the fall of the pulse of the sampling clock c1, and the generated clock is changed from the generated clock c2 shown in FIG. An example of switching to the generated clock c4 is shown. At this time, a hazard noise pulse p1 is generated in the input clock c5b in FIG. The pulse width of the hazard noise pulse p1 is t2.

また、図3は、サンプリングクロックc1、c3間の遅延差が最大Ty(msec)の場合を示しており、このときのハザードノイズパルスのパルス幅はTy(msec)に等しく、これを超えることはない。   FIG. 3 shows a case where the delay difference between the sampling clocks c1 and c3 is the maximum Ty (msec), and the pulse width of the hazard noise pulse at this time is equal to Ty (msec) and exceeds this. Absent.

図4はシステムクロックc6とサンプリングクロックc1およびc3との関係を示すタイミングチャートである。同図(A)はシステムクロックc6の一例の波形を示し、同図(B)はサンプリングクロックc1およびc3の一例の波形を示している。   FIG. 4 is a timing chart showing the relationship between the system clock c6 and the sampling clocks c1 and c3. FIG. 4A shows an example of the waveform of the system clock c6, and FIG. 4B shows an example of the waveform of the sampling clocks c1 and c3.

システムクロックc6はクロック非同期切替装置1を制御するクロックである。   The system clock c6 is a clock for controlling the clock asynchronous switching device 1.

いま、システムクロックc6の周波数をz(kHz),周期をTz(msec)とすると、サンプリングクロックc1およびc3の周波数y(kHz)との間にz>yの関係がある。したがって、周期に関してはTz<Tyの関係がある。   Now, assuming that the frequency of the system clock c6 is z (kHz) and the period is Tz (msec), there is a relationship of z> y between the sampling clocks c1 and c3 and the frequency y (kHz). Therefore, there is a relationship of Tz <Ty with respect to the period.

前述したように、ハザードノイズのパルス幅はサンプリングクロックc1,c3のパルス幅Ty(msec)以下なので、このパルス幅の長さをシステムクロックc6の何個分になるかカウントすることにより測定する。   As described above, since the pulse width of the hazard noise is equal to or less than the pulse width Ty (msec) of the sampling clocks c1 and c3, the pulse width is measured by counting the number of the system clock c6.

すなわち、サンプリングクロックc1およびc3の周期Ty(msec)をシステムクロックc6の周期Tz(msec)で除算し、その結果をNとする。なお、Nの値に小数点以下の端数が生じた場合は切り捨てとする。そして、1からカウントを開始し、発生したパルスのパルス幅がカウント数N以下であれば、それはハザードノイズと判定する。   That is, the period Ty (msec) of the sampling clocks c1 and c3 is divided by the period Tz (msec) of the system clock c6, and the result is N. If a fractional part occurs in the value of N, it is rounded down. Then, counting is started from 1, and if the pulse width of the generated pulse is equal to or less than the count number N, it is determined as hazard noise.

図5は時刻表示用クロックc5bのハザードノイズをマスクする処理の一例を示すタイミングチャートである。同図(A)は後述するノイズマスク用パルスc7の一例の波形を示し、同図(B)は時刻表示用クロックc5bの一例の波形を示している。   FIG. 5 is a timing chart showing an example of a process for masking the hazard noise of the time display clock c5b. FIG. 4A shows an example of a waveform of a noise mask pulse c7 described later, and FIG. 4B shows an example of a waveform of a time display clock c5b.

一例として、系切り替え時に時刻表示用クロックc5bのレベルが低レベルであり、その後に発生する立ち上がりパルスのパルス幅がシステムクロックc6のパルスN個分(すなわち、サンプリングクロックc1およびc3の一周期)以下であると、それはハザードノイズと判定される。   As an example, the level of the time display clock c5b is low when the system is switched, and the pulse width of the rising pulse generated thereafter is equal to or less than N pulses of the system clock c6 (that is, one cycle of the sampling clocks c1 and c3). If it is, it is determined as hazard noise.

そこで、立ち上がりパルスが検出された場合、ノイズマスク用パルスc7を発生させ、ハザードノイズの立ち上がりパルスの高レベルp1hを時刻表示用クロックc5bが高レベルに変化するまで(t3時間の間)保持(マスク)する(同図(B)参照)。   Therefore, when a rising pulse is detected, a noise mask pulse c7 is generated, and the high level p1h of the rising pulse of the hazard noise is held until the time display clock c5b changes to a high level (during time t3) (masking). (See (B) in the same figure).

具体的に説明すると、時刻表示用クロックc5bの立ち上がり数に着目すると、ハザードノイズが1個発生すると、時刻表示用クロックc5bの立ち上がり数は1個増加する。したがって、本発明によりハザードノイズの高レベルを時刻表示用クロックc5bが次回高レベルに変化するまで保持(マスク)することにより、この時刻表示用クロックc5bの立ち上がり数を1個減少させることができる。これにより時刻表示用クロックc5bをハザードノイズが発生していない場合と同等に取り扱うことが可能となる。   Specifically, focusing on the number of rises of the time display clock c5b, when one hazard noise occurs, the number of rises of the time display clock c5b increases by one. Therefore, by holding (masking) the high level of the hazard noise until the time display clock c5b changes to the next high level according to the present invention, the number of rises of the time display clock c5b can be reduced by one. As a result, the time display clock c5b can be handled in the same manner as when no hazard noise is generated.

次に、本発明の動作の一例について図6および図7を参照しながら説明する。図6は本発明に係るノイズキャンセル回路の動作の一例を示すフローチャート、図7は同ノイズキャンセル回路の動作の一例を示すタイミングチャートである。   Next, an example of the operation of the present invention will be described with reference to FIGS. FIG. 6 is a flowchart showing an example of the operation of the noise cancellation circuit according to the present invention, and FIG. 7 is a timing chart showing an example of the operation of the noise cancellation circuit.

ノイズキャンセル回路21のカウンタ回路24は一例としてシステムクロックc6を基準とするアップカウンタ構成で、ビット幅は図8の前段LSIカード基板10でのサンプリング周期Ty(msec)に依存する。これは、サンプリング周期Ty(msec)をシステムクロックc6の周期Tz(msec)で除算した値をカウンタ回路24の最大カウンタ値N(カウント)とするためである。   The counter circuit 24 of the noise cancellation circuit 21 has an up-counter configuration based on the system clock c6 as an example, and the bit width depends on the sampling cycle Ty (msec) in the preceding LSI card substrate 10 in FIG. This is because the value obtained by dividing the sampling period Ty (msec) by the period Tz (msec) of the system clock c6 is set as the maximum counter value N (count) of the counter circuit 24.

つまり、時刻表示用クロックc5bのパルス幅がカウンタ回路24の計数値Nカウント以下である場合、そのパルスはハザードノイズパルスと判定される。   That is, when the pulse width of the time display clock c5b is equal to or smaller than the count value N counts of the counter circuit 24, the pulse is determined to be a hazard noise pulse.

具体的には、本カウンタ回路24はN値までカウントアップしつつ、入力されるハザードノイズが乗った時刻表示用クロックc5bの変化を常に監視し、状況に合わせてカウンタ値を変更する。   Specifically, the counter circuit 24 always counts up to the N value, constantly monitors the change of the time display clock c5b with the input hazard noise, and changes the counter value according to the situation.

例えば、N値までカウントアップしても時刻表示用クロックc5bに変化がない場合は、N値を固定出力し、時刻表示用クロックc5bに変化があるまでそれを保持し続ける。したがって、カウンタ回路24は正しいパルスが入力されていると認識し、そのまま時刻表示用クロックc5bを出力する。   For example, if the time display clock c5b does not change even after counting up to the N value, the N value is fixedly output and held until the time display clock c5b is changed. Therefore, the counter circuit 24 recognizes that a correct pulse is input, and outputs the time display clock c5b as it is.

逆に、N値になる前に時刻表示用クロックc5bに変化があった場合は、強制的にカウンタ値を“0”にクリアし、次に時刻表示用クロックc5bに変化があるまで“0”値を保持する。つまり、この“0”値を保持している期間中、ハザードノイズパルスが入力されており、その間カウンタ回路24は時刻表示用クロックc5bをマスクして出力する(ノイズキャンセル)。   On the other hand, if the time display clock c5b has changed before reaching the N value, the counter value is forcibly cleared to "0", and then "0" until the time display clock c5b changes. Holds the value. That is, during the period in which the “0” value is held, the hazard noise pulse is input, and during that period, the counter circuit 24 masks and outputs the time display clock c5b (noise cancellation).

一方、再び時刻表示用クロックc5bに変化があるとカウントアップを始め、カウンタ回路24はマスク制御を解除する。   On the other hand, when the time display clock c5b is changed again, the count circuit starts counting up and the counter circuit 24 cancels the mask control.

以下、図6および図7を参照しながらノイズキャンセル回路21の動作を詳細に説明する。   Hereinafter, the operation of the noise cancellation circuit 21 will be described in detail with reference to FIGS. 6 and 7.

フリップ・フロップ22の出力端子Qから一段ラッチデータ(時刻表示用クロックc5bの一段ラッチデータ)の立ち上がりが検出され(図7の(A))、かつフリップ・フロップ23の出力端子Qから二段ラッチデータ(時刻表示用クロックc5bの二段ラッチデータ)の立ち上がりが検出されると(図7の(B))、カウンタ回路24のEX・OR回路28から高レベルのカウンタクリア用パルスc7が出力される(図7の(C))。このカウンタクリア用パルスc7によりカウントアップ部29がリセットされ(図6のステップS1)、カウントアップが開始される(図6のステップS2および図7の(D))。   The rising edge of the one-stage latch data (one-stage latch data of the time display clock c5b) is detected from the output terminal Q of the flip-flop 22 (FIG. 7A), and the two-stage latch from the output terminal Q of the flip-flop 23 When the rising edge of the data (two-stage latch data of the time display clock c5b) is detected ((B) in FIG. 7), the EX / OR circuit 28 of the counter circuit 24 outputs a high level counter clearing pulse c7. ((C) of FIG. 7). The count-up unit 29 is reset by the counter clearing pulse c7 (step S1 in FIG. 6), and the count-up is started (step S2 in FIG. 6 and (D) in FIG. 7).

この場合、カウンタ回路24のノイズマスク回路35はフリップ・フロップ23の出力端子Qから出力される時刻表示用クロックc5bを選択し,時刻表示用クロックc5aとしてフリップ・フロップ25へ出力する(図7の(E)。これは、時刻表示用クロックにハザードノイズが発生していない場合である。   In this case, the noise mask circuit 35 of the counter circuit 24 selects the time display clock c5b output from the output terminal Q of the flip-flop 23 and outputs it to the flip-flop 25 as the time display clock c5a (FIG. 7). (E) This is a case where no hazard noise is generated in the time display clock.

次に、カウンタ値が“N”カウントとなったか否かを調べ、Nカウントに達しなく(図6のステップS3にて“N”の場合)、かつカウンタ値が“0”カウントでもなく(図6のステップS6にて“N”の場合)、かつ時刻表示用クロックc5bのレベル(“0”もしくは“1”)に変化がない場合は(図6のステップS7にて“N”の場合および図7の(F))、ステップS2に戻る。   Next, it is checked whether or not the counter value has reached “N” count. N count has not been reached (in the case of “N” in step S3 in FIG. 6), and the counter value is not “0” count (see FIG. 6). 6 is “N” in step S6), and the level (“0” or “1”) of the time display clock c5b is not changed (in the case of “N” in step S7 in FIG. 6) (F) of FIG. 7), it returns to step S2.

一方、図6のステップS3にてカウンタ値がNカウントとなり(図6のステップS3にて“Y”の場合および図7の(G))、時刻表示用クロックc5bのレベルに変化がない場合は(図6のステップS4にて“N”の場合)、カウンタ値をNカウントに保持し(図6のステップS5および図7の(H))、ステップS3に戻る。   On the other hand, when the counter value becomes N counts in step S3 in FIG. 6 (in the case of “Y” in step S3 in FIG. 6 and (G) in FIG. 7), there is no change in the level of the time display clock c5b. (In the case of “N” in step S4 in FIG. 6), the counter value is held at N count (step S5 in FIG. 6 and (H) in FIG. 7), and the process returns to step S3.

したがって、時刻表示用クロックc5bがノイズなしの時刻表示用クロックc5aとして継続してフリップ・フロップ25へ出力される図7の(I))。   Therefore, the time display clock c5b is continuously output to the flip-flop 25 as the time display clock c5a without noise (FIG. 7 (I)).

一方、ステップS4にて時刻表示用クロックc5bのレベルに変化があった場合は(ステップS4にて“Y”の場合および図7の(J))、カウンタクリア用パルスc7(図7の(K))によりカウントアップ部29が“1”にクリアされ(ステップS9および図7の(L))、ステップS3に戻る。   On the other hand, if the level of the time display clock c5b has changed in step S4 ("Y" in step S4 and (J) in FIG. 7), the counter clearing pulse c7 ((K in FIG. 7) )), The count-up unit 29 is cleared to "1" (step S9 and (L) in FIG. 7), and the process returns to step S3.

これは時刻表示用クロックc5bのレベルが高レベルから低レベルへ正常に変化したことを示している。   This indicates that the level of the time display clock c5b has changed normally from the high level to the low level.

そして、“1”からカウントアップを行い、カウント値が“N”に到達しさらに“N”値の保持まで行われたものとする(図7の(N))。   Then, it is assumed that the count is incremented from “1”, the count value reaches “N”, and the “N” value is held ((N) in FIG. 7).

この場合、時刻表示用クロックc5bがノイズなしの時刻表示用クロックc5aとして継続してフリップ・フロップ25へ出力される図7の(M))。   In this case, the time display clock c5b is continuously output to the flip-flop 25 as the noise-free time display clock c5a (FIG. 7M).

次に、カウント値が“N”に保持されている状態で、時刻表示用クロックc5bのレベルに変化があった場合は(ステップS4にて“Y”の場合)、カウンタクリア用パルスc7(図7の(O))でカウントアップ部29が“1”にクリアされ(図6のステップS9)、ステップS3へ戻り、再びカウントアップを開始する(図7の(P))。   Next, when the level of the time display clock c5b changes when the count value is held at "N" (in the case of "Y" in step S4), the counter clear pulse c7 (FIG. 7 (O)), the count-up unit 29 is cleared to “1” (step S9 in FIG. 6), the process returns to step S3, and starts counting up again ((P) in FIG. 7).

次に、カウント値が“N”になる前に、時刻表示用クロックc5bのレベルに変化があった場合(ステップS3にて“N”、ステップS6にて“N”、ステップS7にて“Y”の場合および図7の(Q))、すなわち、一例としてカウント値“2”(図7の(R))で時刻表示用クロックc5bのレベル変化を検出した場合、カウント値を“0”にクリアする(ステップS8および図7の(S))。   Next, when the level of the time display clock c5b is changed before the count value becomes “N” (“N” in step S3, “N” in step S6, “Y” in step S7). "And (Q) in FIG. 7), that is, when the level change of the time display clock c5b is detected with the count value" 2 "((R) in FIG. 7) as an example, the count value is set to" 0 ". Clear (step S8 and (S) of FIG. 7).

これは、図7の(Q)に示すパルスがハザードノイズであったことを示している。   This indicates that the pulse shown in (Q) of FIG. 7 was hazard noise.

カウント値が“0”にクリアされると、カウンタ回路24のノイズマスク回路35からノイズマスク用パルス(図7の(T))がフリップ・フロップ25に出力
される。
When the count value is cleared to “0”, a noise mask pulse ((T) in FIG. 7) is output from the noise mask circuit 35 of the counter circuit 24 to the flip-flop 25.

すると、ノイズマスク用パルスが入力されている期間(t10)だけ、フリップ・フロップ25の出力端子Qから高レベル信号が出力される(図7の(U))。   Then, a high level signal is output from the output terminal Q of the flip-flop 25 only during the period (t10) when the noise mask pulse is input ((U) in FIG. 7).

すなわち、ハザードノイズの高レベルが時間(t10)だけ延長されたことにより、ハザードノイズ発生により1個増えた時刻表示クロックの立ち上がり回数が相殺されたことになる。   That is, since the high level of the hazard noise is extended by the time (t10), the number of rises of the time display clock increased by one due to the occurrence of the hazard noise is offset.

そして、ステップS3に戻る。   Then, the process returns to step S3.

次に、時刻表示用クロックc5bのレベルに変化がない場合は(ステップS3にて“N”かつステップS6にて“Y”かつステップS10にて“N”の場合)、カウント値“0”を保持し(図7の(V))、時刻表示用クロックc5bのレベルに変化があった場合は(ステップS3にて“N”かつステップS6にて“Y”かつステップS10にて“Y”の場合)、カウンタ値を“1”にクリアし(ステップS11)、ステップS3に戻る。   Next, when there is no change in the level of the time display clock c5b (in the case of “N” in step S3, “Y” in step S6, and “N” in step S10), the count value “0” is set. If the level of the time display clock c5b has changed ("N" in step S3, "Y" in step S6, and "Y" in step S10). ), The counter value is cleared to “1” (step S11), and the process returns to step S3.

以上説明したように、本発明によれば、系切り替え後にサンプリング周期以下のパルス幅を有するパルスが発生するか否かを監視し、そのようなパルスが発生した場合、次回のパルスが発生するまで時刻表示用クロックをマスクする構成であるため、クロックフィールドをサンプリングするサンプリングクロックがACTIVE系とSTANDBY系とで同期が取れていない場合でも、系切替時におけるハザードノイズの発生を防止することが可能となる。   As described above, according to the present invention, after system switching, it is monitored whether or not a pulse having a pulse width equal to or shorter than the sampling period is generated, and when such a pulse is generated, until the next pulse is generated. Since the time display clock is masked, it is possible to prevent the occurrence of hazard noise during system switching even when the sampling clock for sampling the clock field is not synchronized between the ACTIVE system and the STANDBY system. Become.

次に、ノイズキャンセル方法のプログラムについて説明する。前述したように、本発明に係る半導体デバイス装置20は制御部26および記憶部27を備えている(図1参照)。   Next, the noise cancellation method program will be described. As described above, the semiconductor device device 20 according to the present invention includes the control unit 26 and the storage unit 27 (see FIG. 1).

この記憶部27には図6にフローチャートで示すノイズキャンセル方法のプログラムが格納されている。制御部(“コンピュータ”)26は記憶部27からこのノイズキャンセル方法のプログラムを読み出し、そのプログラムにしたがってカウンタ回路24を制御する。その制御内容については既に述べたのでここでの説明は省略する。   The storage unit 27 stores a noise cancellation method program shown in the flowchart of FIG. The control unit (“computer”) 26 reads a program for the noise cancellation method from the storage unit 27 and controls the counter circuit 24 according to the program. Since the control contents have already been described, the description thereof is omitted here.

なお、本実施例では時刻表示用クロックのレベルが低レベルのときに高レベルのハザードノイズが発生する場合について説明したが、これに限定するものではなく、時刻表示用クロックのレベルが高レベルのときに低レベルのハザードノイズが発生する場合にも適用可能であることは上記の説明から明白である。   In this embodiment, the case where high level hazard noise is generated when the time display clock level is low is described. However, the present invention is not limited to this, and the time display clock level is high. It is clear from the above description that the present invention can also be applied to cases in which low level hazard noise sometimes occurs.

また、本実施例では、交換機装置の二重化構成について説明したが、一般的に非同期で信号を選択する装置で、最大遅延差が明確な場合、そのような他の装置にも本発明の適用が可能である。   In the present embodiment, the duplex configuration of the exchange apparatus has been described. However, when the maximum delay difference is clear in an apparatus that selects signals asynchronously, the application of the present invention may be applied to such other apparatuses. Is possible.

以上説明したように、本発明によれば、カウンタ回路という比較的簡素な回路構成によりノイズキャンセル回路を構成することができ、これにより複数系統のクロック信号の位相差最大値に制限がある場合のクロック非同期切替において、系切替時にハザードノイズが発生するのを防止することが可能となる。   As described above, according to the present invention, a noise canceling circuit can be configured with a relatively simple circuit configuration called a counter circuit, thereby limiting the maximum phase difference value of a plurality of clock signals. In asynchronous clock switching, it is possible to prevent hazard noise from occurring during system switching.

また、本発明のノイズキャンセル回路はシステムクロックに完全同期化した回路構成となっているため、装置への搭載が容易である。また、カウンタ回路で信号を制御することが可能であるため、ディジタル的にノイズをキャンセルすることが可能となる。   In addition, since the noise cancellation circuit of the present invention has a circuit configuration that is completely synchronized with the system clock, it can be easily mounted on the apparatus. Further, since the signal can be controlled by the counter circuit, noise can be canceled digitally.

また、カウンタ回路の動作プログラムは一般的なハードウエア言語(VHDL(VHSIC hardware description language, VHSIC: very high speed integral circuit)またはVerilog )によるRTL(register transfer level) 記述であるので、他の設計者にも容易に理解でき、かつシリコンプロセスによる依存性もなく、流用性が高いという効果もある。   The operation program of the counter circuit is RTL (register transfer level) description in a general hardware language (VHDL (VHSIC hardware description language, VHSIC: VHSIC: Very High Speed Integral Circuit) or Verilog). Can be easily understood, has no dependency on the silicon process, and has the effect of high diversion.

本発明に係る半導体デバイス装置の一例の構成図である。It is a block diagram of an example of the semiconductor device apparatus which concerns on this invention. ハザードノイズが発生する過程の一例を示すタイミングチャートである。It is a timing chart which shows an example of the process in which hazard noise generate | occur | produces. ハザードノイズが発生する過程の一例を示すタイミングチャートである。It is a timing chart which shows an example of the process in which hazard noise generate | occur | produces. システムクロックc6とサンプリングクロックc1およびc3との関係を示すタイミングチャートである。It is a timing chart which shows the relationship between system clock c6 and sampling clocks c1 and c3. 時刻表示用クロックc5bのハザードノイズをマスクする処理の一例を示すタイミングチャートであるIt is a timing chart which shows an example of the process which masks the hazard noise of the clock c5b for time display. 本発明に係るノイズキャンセル回路の動作の一例を示すフローチャートである。3 is a flowchart showing an example of the operation of the noise cancellation circuit according to the present invention. 同ノイズキャンセル回路の動作の一例を示すタイミングチャートである。It is a timing chart which shows an example of operation of the noise cancellation circuit. 従来のクロック非同期切替装置の一例の構成図である。It is a block diagram of an example of the conventional clock asynchronous switching apparatus.

符号の説明Explanation of symbols

1 クロック非同期切替装置
20 半導体デバイス装置
21 ノイズキャンセル回路
22、23、25 フリップ・フロップ
24 カウンタ回路
26 制御部
27 記憶部
28 排他的論理和回路(EX・OR回路)
29 カウントアップ部
35 ノイズマスク回路
1 Clock asynchronous switching device
20 Semiconductor device equipment
21 Noise cancellation circuit 22, 23, 25 Flip flop
24 Counter circuit
26 Control unit
27 Storage unit
28 Exclusive OR circuit (EX / OR circuit)
29 Count-up part
35 Noise mask circuit

Claims (15)

複数のクロック信号のうちのいずれかを非同期タイミングで選択して出力するクロック非同期切替装置であって、
前記複数のクロック信号は周波数が等しく非同期の異なるサンプリングクロックを基に生成される信号であり、
選択されたクロック信号のレベル変化を監視し、レベル変化後のパルス幅が前記サンプリングクロックの一周期以下か否かを監視するパルス幅監視手段と、
前記パルス幅監視手段での監視結果に応じて前記選択されたクロック信号をマスクするマスク手段と、
を含むことを特徴とするクロック非同期切替装置。
A clock asynchronous switching device that selects and outputs one of a plurality of clock signals at an asynchronous timing,
The plurality of clock signals are signals generated based on different sampling clocks having the same frequency and asynchronousness,
Pulse width monitoring means for monitoring the level change of the selected clock signal and monitoring whether the pulse width after the level change is equal to or less than one period of the sampling clock;
Masking means for masking the selected clock signal according to the monitoring result of the pulse width monitoring means;
A clock asynchronous switching device comprising:
前記パルス幅監視手段は、前記選択されたクロック信号のレベル変化を検出する排他的論理和回路と、前記サンプリングクロックの一周期に等しい時間を計数するカウンタ回路とを含むことを特徴とする請求項1記載のクロック非同期切替装置。   The pulse width monitoring means includes an exclusive OR circuit that detects a level change of the selected clock signal, and a counter circuit that counts a time equal to one period of the sampling clock. 1. The clock asynchronous switching device according to 1. 前記マスク手段は、前記パルス幅監視手段により前記選択されたクロック信号のパルス幅が前記サンプリングクロックの一周期以下と判定された場合、前記選択されたクロック信号をマスクすることを特徴とする請求項1または2記載のクロック非同期切替装置。   The masking means masks the selected clock signal when the pulse width monitoring means determines that the pulse width of the selected clock signal is equal to or less than one period of the sampling clock. The clock asynchronous switching device according to 1 or 2. 前記マスク手段によるマスクは、前記サンプリングクロックの一周期以下のパルス幅を有する前記クロック信号のレベルを次回のレベル変化まで保持することによりなされることを特徴とする請求項3記載のクロック非同期切替装置。   4. The clock asynchronous switching device according to claim 3, wherein the masking means performs masking by holding the level of the clock signal having a pulse width of one cycle or less of the sampling clock until the next level change. . 前記パルス幅監視手段および前記マスク手段は共通のシステムクロックにより動作することを特徴とする請求項1から4いずれかに記載のクロック非同期切替装置。   5. The clock asynchronous switching device according to claim 1, wherein the pulse width monitoring unit and the masking unit are operated by a common system clock. 複数のクロック信号のうちのいずれかを非同期タイミングで選択して出力するクロック非同期切替装置のノイズキャンセル回路であって、
前記複数のクロック信号は周波数が等しく非同期の異なるサンプリングクロックを基に生成される信号であり、
選択されたクロック信号のレベル変化を監視し、レベル変化後のパルス幅が前記サンプリングクロックの一周期以下か否かを監視するパルス幅監視手段と、
前記パルス幅監視手段での監視結果に応じて前記選択されたクロック信号をマスクするマスク手段と、
を含むことを特徴とするノイズキャンセル回路。
A noise cancellation circuit for a clock asynchronous switching device that selects and outputs one of a plurality of clock signals at an asynchronous timing,
The plurality of clock signals are signals generated based on different sampling clocks having the same frequency and asynchronousness,
Pulse width monitoring means for monitoring the level change of the selected clock signal and monitoring whether the pulse width after the level change is equal to or less than one period of the sampling clock;
Masking means for masking the selected clock signal according to the monitoring result of the pulse width monitoring means;
A noise canceling circuit comprising:
前記パルス幅監視手段は、前記選択されたクロック信号のレベル変化を検出する排他的論理和回路と、前記サンプリングクロックの一周期に等しい時間を計数するカウンタ回路とを含むことを特徴とする請求項6記載のノイズキャンセル回路。   The pulse width monitoring means includes an exclusive OR circuit that detects a level change of the selected clock signal, and a counter circuit that counts a time equal to one period of the sampling clock. 6. The noise canceling circuit according to 6. 前記マスク手段は、前記パルス幅監視手段により前記選択されたクロック信号のパルス幅が前記サンプリングクロックの一周期以下と判定された場合、前記選択されたクロック信号をマスクすることを特徴とする請求項6または7記載のノイズキャンセル回路。   The masking means masks the selected clock signal when the pulse width monitoring means determines that the pulse width of the selected clock signal is equal to or less than one period of the sampling clock. The noise cancellation circuit according to 6 or 7. 前記マスク手段によるマスクは、前記サンプリングクロックの一周期以下のパルス幅を有する前記クロック信号のレベルを次回のレベル変化まで保持することによりなされることを特徴とする請求項8記載のノイズキャンセル回路。   9. The noise canceling circuit according to claim 8, wherein the masking by the masking means is performed by holding the level of the clock signal having a pulse width of one cycle or less of the sampling clock until the next level change. 前記パルス幅監視手段および前記マスク手段は共通のシステムクロックにより動作することを特徴とする請求項6から9いずれかに記載のノイズキャンセル回路。   10. The noise canceling circuit according to claim 6, wherein the pulse width monitoring unit and the masking unit operate with a common system clock. 複数のクロック信号のうちのいずれかを非同期タイミングで選択して出力するクロック非同期切替装置のノイズキャンセル方法であって、
前記複数のクロック信号は周波数が等しく非同期の異なるサンプリングクロックを基に生成される信号であり、
選択されたクロック信号のレベル変化を監視し、レベル変化後のパルス幅が前記サンプリングクロックの一周期以下か否かを監視するパルス幅監視ステップと、
前記パルス幅監視ステップでの監視結果に応じて前記選択されたクロック信号をマスクするマスクステップと、
を含むことを特徴とするノイズキャンセル方法。
A noise canceling method for a clock asynchronous switching device that selects and outputs one of a plurality of clock signals at an asynchronous timing,
The plurality of clock signals are signals generated based on different sampling clocks having the same frequency and asynchronousness,
A pulse width monitoring step of monitoring the level change of the selected clock signal and monitoring whether the pulse width after the level change is equal to or less than one period of the sampling clock;
A masking step of masking the selected clock signal according to a monitoring result in the pulse width monitoring step;
A noise canceling method comprising:
前記パルス幅監視ステップは、前記選択されたクロック信号のレベル変化を検出する排他的論理和回路と、前記サンプリングクロックの一周期に等しい時間を計数するカウンタ回路とを含むことを特徴とする請求項11記載のノイズキャンセル方法。   The pulse width monitoring step includes an exclusive OR circuit that detects a level change of the selected clock signal and a counter circuit that counts a time equal to one period of the sampling clock. 11. The noise canceling method according to 11. 前記マスクステップは、前記パルス幅監視ステップにより前記選択されたクロック信号のパルス幅が前記サンプリングクロックの一周期以下と判定された場合、前記選択されたクロック信号をマスクすることを特徴とする請求項11または12記載のノイズキャンセル方法。   The masking step masks the selected clock signal when the pulse width of the selected clock signal is determined to be equal to or less than one period of the sampling clock in the pulse width monitoring step. The noise canceling method according to 11 or 12. 前記マスクステップによるマスクは、前記サンプリングクロックの一周期以下のパルス幅を有する前記クロック信号のレベルを次回のレベル変化まで保持することによりなされることを特徴とする請求項13記載のノイズキャンセル方法。   14. The noise canceling method according to claim 13, wherein the masking by the masking step is performed by holding the level of the clock signal having a pulse width of one cycle or less of the sampling clock until the next level change. 前記パルス幅監視ステップおよび前記マスクステップは共通のシステムクロックにより動作することを特徴とする請求項11から14いずれかに記載のノイズキャンセル方法。   15. The noise canceling method according to claim 11, wherein the pulse width monitoring step and the masking step are operated by a common system clock.
JP2006283211A 2006-10-18 2006-10-18 Asynchronous clock switching device, noise cancellation circuit, noise cancellation method and program Expired - Fee Related JP5162877B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006283211A JP5162877B2 (en) 2006-10-18 2006-10-18 Asynchronous clock switching device, noise cancellation circuit, noise cancellation method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006283211A JP5162877B2 (en) 2006-10-18 2006-10-18 Asynchronous clock switching device, noise cancellation circuit, noise cancellation method and program

Publications (2)

Publication Number Publication Date
JP2008103863A JP2008103863A (en) 2008-05-01
JP5162877B2 true JP5162877B2 (en) 2013-03-13

Family

ID=39437876

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006283211A Expired - Fee Related JP5162877B2 (en) 2006-10-18 2006-10-18 Asynchronous clock switching device, noise cancellation circuit, noise cancellation method and program

Country Status (1)

Country Link
JP (1) JP5162877B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010076667A1 (en) 2009-01-05 2010-07-08 Freescale Semiconductor, Inc. Clock glitch detection circuit
US8519768B2 (en) 2009-03-31 2013-08-27 Freescale Semiconductor, Inc. Clock glitch detection
JP6421509B2 (en) * 2014-09-16 2018-11-14 株式会社リコー Image forming apparatus
JP6492607B2 (en) * 2014-12-12 2019-04-03 セイコーエプソン株式会社 Semiconductor integrated circuit and electronic equipment

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56164623A (en) * 1980-05-22 1981-12-17 Seiko Epson Corp Chattering preventing circuit
JPS6316318A (en) * 1986-07-08 1988-01-23 Nec Corp Clock switching circuit
JPS6335127U (en) * 1986-08-20 1988-03-07
JPS63196114A (en) * 1987-02-10 1988-08-15 Matsushita Electric Ind Co Ltd Noise removing circuit
JPH01290013A (en) * 1988-05-18 1989-11-21 Nec Corp Asynchronous clock selecting/synchronizing circuit
US5357146A (en) * 1992-12-31 1994-10-18 At&T Bell Laboratories Glitch-free clock multiplexer
JPH07225631A (en) * 1994-02-15 1995-08-22 Hitachi Ltd Method and circuit for clock switching
JPH08330915A (en) * 1995-05-29 1996-12-13 Oki Electric Ind Co Ltd Clock signal switching circuit
US6275546B1 (en) * 1998-06-30 2001-08-14 Hewlett-Packard Company Glitchless clock switch circuit
JP2002117683A (en) * 2000-10-04 2002-04-19 Sony Corp Clock-switching circuit and memory device having the circuit
JP2005026757A (en) * 2003-06-30 2005-01-27 Kyocera Mita Corp Clock switching circuit and image processing apparatus employing the same
JP2005191877A (en) * 2003-12-25 2005-07-14 Fujitsu Ltd Clock switching circuit

Also Published As

Publication number Publication date
JP2008103863A (en) 2008-05-01

Similar Documents

Publication Publication Date Title
US8214668B2 (en) Synchronizing circuit
JP5162877B2 (en) Asynchronous clock switching device, noise cancellation circuit, noise cancellation method and program
TW528944B (en) A processing system and method of resetting a plurality of processing modules
US20110222644A1 (en) Clock frequency divider circuit and clock frequency division method
US7863949B2 (en) Circuit and design structure for synchronizing multiple digital signals
US20090316845A1 (en) Asynchronous multi-clock system
JP2006020482A (en) Battery protecting circuit
JP4007027B2 (en) Power-on reset circuit
JP5734057B2 (en) Microcontroller and control method thereof
JPH10154021A (en) Clock switching device and clock switching method
US20100141318A1 (en) Trigger signal detection apparatus
EP3761508A2 (en) Immediate fail detect clock domain crossing synchronizer
US20030094983A1 (en) Method and device for synchronising integrated circuits
JP2000261310A (en) Synchronization circuit for asynchronous signal and semiconductor integrated circuit
JP5325594B2 (en) Arithmetic circuit
EP3812874A1 (en) Glitch-free clock multiplexer
US8850256B2 (en) Communication circuit and communication method
EP0766392A2 (en) Edge detection circuit with improved detection reliability
JP2006178866A (en) Data transfer system, data transfer method and crossbar lsi
JP2006201856A (en) Semiconductor integrated circuit
JP6629640B2 (en) Command control device, command control method, and command control program
JP2001339377A (en) Phase adjustment circuit and phase adjustment method
JP5890052B2 (en) Microcontroller
JP2001184298A (en) Circuit and method for reporting asynchronous interruption
JP2010271768A (en) Cpu interface circuit and restoration method of cpu interface circuit from abnormal state

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090924

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110824

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110913

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111024

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20120626

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120903

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20120911

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20121120

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20121203

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

Free format text: PAYMENT UNTIL: 20151228

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5162877

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees