JPH0783353B2 - Clock switching circuit - Google Patents

Clock switching circuit

Info

Publication number
JPH0783353B2
JPH0783353B2 JP63236322A JP23632288A JPH0783353B2 JP H0783353 B2 JPH0783353 B2 JP H0783353B2 JP 63236322 A JP63236322 A JP 63236322A JP 23632288 A JP23632288 A JP 23632288A JP H0783353 B2 JPH0783353 B2 JP H0783353B2
Authority
JP
Japan
Prior art keywords
clock
output
external
switching circuit
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 - Lifetime
Application number
JP63236322A
Other languages
Japanese (ja)
Other versions
JPH0286236A (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 JP63236322A priority Critical patent/JPH0783353B2/en
Publication of JPH0286236A publication Critical patent/JPH0286236A/en
Publication of JPH0783353B2 publication Critical patent/JPH0783353B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Synchronisation In Digital Transmission Systems (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、外部から入力される外部クロックと、内部に
て発生する内部クロックのいずれか一方を選択して出力
するものであり、しかも外部クロックの入力断発生時に
は内部クロックを選択するクロック切替回路に関する。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Field of Application] The present invention selects and outputs either an external clock input from the outside or an internal clock generated internally. The present invention relates to a clock switching circuit that selects an internal clock when a clock input interruption occurs.

〔従来の技術〕[Conventional technology]

一般に、通信システムにおいて、同期網を構成する方式
がある。この方式では、基準となるクロックを各端局に
送信し、端局はこの基準クロックに同期して通信制御を
行う。この方式に対応する通信装置は通常、クロック切
替回路により外部クロックか内部クロックを選択し、選
択したクロックに基づいて動作できるようになってい
る。
Generally, there is a method of forming a synchronous network in a communication system. In this method, a reference clock is transmitted to each terminal station, and the terminal station performs communication control in synchronization with this reference clock. A communication device compatible with this method is usually configured to select an external clock or an internal clock by a clock switching circuit and operate based on the selected clock.

第2図に従来のクロック切替回路を示す。通常時、切替
回路1は、外部クロック2を選択している。クロック選
択設定スイッチ3により、外部から入力される外部クロ
ック2または内部クロック発生回路4から出力される内
部クロック5が選択されると、そのクロックを示すクロ
ック選択指示6がクロック選択設定スイッチ3から切替
回路7に出力され、切替回路7が所定のクロック側に切
り替わる。これにより、選択されたクロックを出力クロ
ック8として出力することができる。
FIG. 2 shows a conventional clock switching circuit. Normally, the switching circuit 1 selects the external clock 2. When the external clock 2 input from the outside or the internal clock 5 output from the internal clock generation circuit 4 is selected by the clock selection setting switch 3, a clock selection instruction 6 indicating the clock is switched from the clock selection setting switch 3. It is output to the circuit 7, and the switching circuit 7 switches to a predetermined clock side. As a result, the selected clock can be output as the output clock 8.

また伝送系の障害などにより外部クロック2の入力断が
発生した場合、外部クロッック入力断検出回路9がこれ
を検出し、検出信号10を出力する。この検出信号10は、
外部の警報器(図示せず)や切替回路1に出力される。
この検出信号10を受けて、切替回路1が内部クロック5
側に切り替わり、出力クロック8として内部クロック5
が出力されることになる。
When the external clock 2 is disconnected due to a failure in the transmission system or the like, the external clock input disconnection detection circuit 9 detects it and outputs the detection signal 10. This detection signal 10 is
It is output to an external alarm device (not shown) and the switching circuit 1.
Upon receiving this detection signal 10, the switching circuit 1 causes the internal clock 5
The internal clock 5 as the output clock 8
Will be output.

さらに内部クロック5が選択されている場合において、
検出信号10が外部の警報器に出力されると不都合である
ので、スイッチ11により外部に対する検出信号10の出力
を遮断していた。
Further, when the internal clock 5 is selected,
Since it is inconvenient if the detection signal 10 is output to an external alarm device, the switch 11 shuts off the output of the detection signal 10 to the outside.

〔発明が解決しようとする課題〕[Problems to be Solved by the Invention]

しかしながら前記した技術では、クロック選択切替時
に、クロック選択設定スイッチ3と共にスイッチ11も切
り替えなければならず、操作性に問題があった。
However, in the above-mentioned technique, when the clock selection is switched, both the clock selection setting switch 3 and the switch 11 must be switched, which causes a problem in operability.

特に、内部クロック5から外部クロック2に切り替える
場合、スイッチ11を切り替えなくても、とりあえず正常
に動作するため、スイッチ11の切替を忘れがちである。
この場合、外部クロック2の入力断時に警報器が動作し
ないという事態を招来する。
In particular, when switching from the internal clock 5 to the external clock 2, it is easy to forget to switch the switch 11 because it operates normally without switching the switch 11.
In this case, the alarm device does not operate when the input of the external clock 2 is cut off.

本発明は、このような問題点に鑑み、クロック選択切替
時における操作性の優れたクロック切替回路を提供する
ことを目的とする。
In view of such problems, it is an object of the present invention to provide a clock switching circuit having excellent operability during clock selection switching.

〔課題を解決するための手段〕[Means for Solving the Problems]

本発明は、外部から入力される外部クロックの入力状態
を監視してその入力が無いときに検出信号を出力する検
出回路と、内部クロックを発生する内部クロック発生回
路と、外部に出力するクロックを選択するためのスイッ
チと、スイッチが外部クロックを選択しており、かつ、
検出回路が検出信号を出力しているときに限り警報を発
生させるための制御信号を出力するゲート回路と、ゲー
ト回路が制御信号を出力しているか、または、スイッチ
が内部クロックを選択している場合は内部クロックを出
力し、それ以外の場合には外部クロックを出力する切替
手段とを具備する。
The present invention provides a detection circuit that monitors an input state of an external clock input from the outside and outputs a detection signal when there is no input, an internal clock generation circuit that generates an internal clock, and a clock that is output to the outside. A switch to select, the switch is selecting an external clock, and
A gate circuit that outputs a control signal for generating an alarm only when the detection circuit outputs a detection signal, and the gate circuit outputs a control signal, or the switch selects the internal clock. In this case, the switching means outputs the internal clock, and otherwise outputs the external clock.

〔作用〕[Action]

すなわち、本発明のクロック切替回路では、オペレータ
によって操作されるスイッチが外部クロックを選択して
いる状態で、外部クロックの入力断が発生したときに
は、外部に対して内部クロックが自動的に出力されると
ともに、警報を発生させるための制御信号が出力され
る。そして、その制御信号の出力は、オペレータがスイ
ッチを内部クロックに切り替えるまで継続される。ま
た、外部クロックが入力断の状態で、オペレータがスイ
ッチを外部クロック選択状態に切り替えたときには、外
部に対して出力されるクロックは内部クロックのまま
で、警報を出力させるための制御信号が出力される。
That is, in the clock switching circuit of the present invention, when the switch operated by the operator selects the external clock and the input of the external clock is interrupted, the internal clock is automatically output to the outside. At the same time, a control signal for generating an alarm is output. Then, the output of the control signal is continued until the operator switches the switch to the internal clock. Also, when the operator switches the switch to the external clock selection state with the external clock input disconnected, the clock output to the outside remains the internal clock and the control signal for outputting the alarm is output. It

このように、本発明によれば、外部クロック入力断時に
誤ったスイッチの切り替えが行なわれても、警報を発生
させるための制御信号が出力されるため、オペレータは
誤操作を認識することができる。
Thus, according to the present invention, even if the switch is erroneously switched when the external clock input is cut off, the control signal for issuing an alarm is output, so that the operator can recognize the erroneous operation.

〔実施例〕〔Example〕

以下、図面を用いて、本発明の実施例を説明する。 Embodiments of the present invention will be described below with reference to the drawings.

第1図は、本発明の一実施例に係るクロック切替回路を
示す。切替回路1は、外部クロック2および内部クロッ
ク5のいずれか一方を選択して出力するものであり、通
常は外部クロック2を選択しており、検出信号10を受信
することによって内部クロック5を選択するものであ
る。切替回路7は、同様に外部クロック2および内部ク
ロック5のいずれか一方を選択して出力クロック8とし
て出力するものであり、クロック選択指示6に基づいて
切替動作を行うものである。
FIG. 1 shows a clock switching circuit according to an embodiment of the present invention. The switching circuit 1 selects and outputs one of the external clock 2 and the internal clock 5, and normally selects the external clock 2 and selects the internal clock 5 by receiving the detection signal 10. To do. Similarly, the switching circuit 7 selects one of the external clock 2 and the internal clock 5 and outputs it as the output clock 8, and performs the switching operation based on the clock selection instruction 6.

内部クロック発生回路4は、内部クロック5を出力する
ものである。クロック選択設定スイッチ3は、外部クロ
ックまたは内部クロックのいずれかの選択を示すクロッ
ク選択指示6が入力されるものである。外部クロック入
力断検出回路9は、外部クロック2の入力断を検出し、
検出信号10を出力するものである。ゲート回路12は、外
部の警報器および切替回路1に対する検出信号10の出力
を開閉制御するものであり、外部クロック選択を示すク
ロック選択指示6を受けて開状態をとり、内部クロック
選択を示すクロック選択指示6を受けて閉状態をとるも
のである。
The internal clock generation circuit 4 outputs the internal clock 5. The clock selection setting switch 3 inputs a clock selection instruction 6 indicating selection of either an external clock or an internal clock. The external clock input disconnection detection circuit 9 detects an input disconnection of the external clock 2,
The detection signal 10 is output. The gate circuit 12 controls the opening and closing of the output of the detection signal 10 to the external alarm device and the switching circuit 1, receives the clock selection instruction 6 indicating the selection of the external clock, and takes the open state to select the clock indicating the internal clock. It receives the selection instruction 6 and takes the closed state.

次にこのクロック切替回路の動作を説明する。Next, the operation of this clock switching circuit will be described.

クロック選択設定スイッチ3によりオペレータが外部ク
ロック2または内部クロック5を選択することによっ
て、出力クロック8を選択できる。
The operator can select the output clock 8 by selecting the external clock 2 or the internal clock 5 with the clock selection setting switch 3.

外部クロック2が選択された場合、外部クロック選択を
示すクロック選択指示6がクロック選択設定スイッチ3
から切替回路7に出力される。通常時、切替回路1は、
外部クロック2を切替回路7に出力しており、切替回路
7は、この外部クロック2を出力クロック8として外部
に出力する。
When the external clock 2 is selected, the clock selection instruction 6 indicating the external clock selection is displayed on the clock selection setting switch 3
Is output to the switching circuit 7. Normally, the switching circuit 1 is
The external clock 2 is output to the switching circuit 7, and the switching circuit 7 outputs the external clock 2 as an output clock 8 to the outside.

ここで伝送系の障害などにより外部クロック2の入力断
が発生したとき、この入力断を外部クロック入力断検出
回路9が検出し、検出信号10を出力する。ゲート回路12
は、前記した外部クロック選択を示すクロック選択指示
6を受けて開状態になっており、検出信号10は外部の警
報器および切替回路1に出力される。これにより警報器
によって警報が行われるとともに、切替回路1が内部ク
ロック5を選択し、出力クロック8として内部クロック
5が出力されることになる。
Here, when the input disconnection of the external clock 2 occurs due to a failure of the transmission system or the like, the external clock input disconnection detection circuit 9 detects the input disconnection and outputs the detection signal 10. Gate circuit 12
Is in the open state upon receiving the clock selection instruction 6 indicating the above-mentioned external clock selection, and the detection signal 10 is output to the external alarm device and the switching circuit 1. As a result, an alarm is issued by the alarm device, the switching circuit 1 selects the internal clock 5, and the internal clock 5 is output as the output clock 8.

またクロック選択設定スイッチ3により内部クロック5
が選択された場合、内部クロック選択を示すクロック選
択指示6がクロック選択設定スイッチ3から切替回路7
に出力される。このクロック選択指示6を受けて切替回
路7は、内部クロック5を出力クロック8として外部に
出力する。
In addition, the internal clock 5 is set by the clock selection setting switch 3.
Is selected, the clock selection instruction 6 indicating the internal clock selection is output from the clock selection setting switch 3 to the switching circuit 7.
Is output to. Upon receiving this clock selection instruction 6, the switching circuit 7 outputs the internal clock 5 as an output clock 8 to the outside.

さらに前記したクロック選択指示6はゲート回路12にも
出力され、このクロック選択指示6を受けてゲート回路
12は閉状態をとる。内部クロック5を選択する場合、外
部クロック2は入力断となっていることが予想される
が、外部クロック入力断検出回路9から検出信号10が出
力されたとしてもゲート回路12により遮断されるので、
警報器に検出信号10が出力されることはない。
Further, the clock selection instruction 6 described above is also output to the gate circuit 12, and upon receipt of this clock selection instruction 6, the gate circuit 12 receives the clock selection instruction 6.
12 is closed. When the internal clock 5 is selected, it is expected that the input of the external clock 2 is disconnected, but even if the detection signal 10 is output from the external clock input disconnection detection circuit 9, it is blocked by the gate circuit 12. ,
The detection signal 10 is not output to the alarm device.

このように本実施例によれば、クロック選択指示6に基
づいてゲート回路12が動作し、検出信号10の出力の開閉
を行うので、オペレータはクロック選択切替の際、クロ
ック選択設定スイッチ3のみを操作するだけでよい。
As described above, according to the present embodiment, the gate circuit 12 operates based on the clock selection instruction 6 to open and close the output of the detection signal 10, so that the operator selects only the clock selection setting switch 3 when switching the clock selection. All you have to do is operate it.

〔発明の効果〕〔The invention's effect〕

以上説明したように本発明によれば、内部クロック選択
指示を受けることにより、検出信号出力阻止手段が検出
部からの検出信号の出力を阻止するので、クロック選択
切替時には、クロック選択指示入力手段を操作して所定
のクロック選択指示を入力するだけでよい。
As described above, according to the present invention, the detection signal output blocking unit blocks the output of the detection signal from the detection unit by receiving the internal clock selection instruction. It is only necessary to operate and input a predetermined clock selection instruction.

従って、検出信号をオフするスイッチの切替操作が不要
となり、操作性が向上する利点がある。しかもスイッチ
切替操作の忘却によって、外部クロックの入力断時に警
報器が動作しないなどの事態が発生することを解消で
き、信頼性が向上する利点がある。
Therefore, there is no need to switch the switch for turning off the detection signal, which has the advantage of improving operability. In addition, it is possible to eliminate the situation that the alarm device does not operate when the input of the external clock is interrupted due to forgetting the switch switching operation, and there is an advantage that the reliability is improved.

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

第1図は本発明の一実施例に係るクロック切替回路を示
すブロック図、第2図は従来のクロック切替回路を示す
ブロック図である。 1……切替回路、2……外部クロック、3……クロック
選択設定スイッチ、4……内部クロック発生回路、5…
…内部クロック、6……クロック選択指示、7……切替
回路、8……出力クロック、9……外部クロック入力断
検出回路、10……検出信号、12……ゲート回路。
FIG. 1 is a block diagram showing a clock switching circuit according to an embodiment of the present invention, and FIG. 2 is a block diagram showing a conventional clock switching circuit. 1 ... Switching circuit, 2 ... External clock, 3 ... Clock selection setting switch, 4 ... Internal clock generation circuit, 5 ...
… Internal clock, 6 …… Clock selection instruction, 7 …… Switching circuit, 8 …… Output clock, 9 …… External clock input break detection circuit, 10 …… Detection signal, 12 …… Gate circuit.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】外部から入力される外部クロックの入力状
態を監視してその入力が無いときに検出信号を出力する
検出回路と、 内部クロックを発生する内部クロック発生回路と、 外部に出力するクロックを選択するためのスイッチと、 前記スイッチが外部クロックを選択しており、かつ、前
記検出回路が検出信号を出力しているときに限り警報を
発生させるための制御信号を出力するゲート回路と、 前記ゲート回路が制御信号を出力しているか、または、
前記スイッチが内部クロックを選択している場合は内部
クロックを出力し、それ以外の場合には外部クロックを
出力する切替手段 とを具備することを特徴とするクロック切替回路。
1. A detection circuit that monitors the input state of an external clock input from the outside and outputs a detection signal when there is no input, an internal clock generation circuit that generates an internal clock, and a clock that outputs to the outside. A switch for selecting, and a gate circuit that outputs a control signal for generating an alarm only when the switch selects an external clock and the detection circuit is outputting a detection signal, The gate circuit is outputting a control signal, or
A clock switching circuit comprising: a switching unit that outputs the internal clock when the switch selects the internal clock, and outputs the external clock otherwise.
JP63236322A 1988-09-22 1988-09-22 Clock switching circuit Expired - Lifetime JPH0783353B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63236322A JPH0783353B2 (en) 1988-09-22 1988-09-22 Clock switching circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63236322A JPH0783353B2 (en) 1988-09-22 1988-09-22 Clock switching circuit

Publications (2)

Publication Number Publication Date
JPH0286236A JPH0286236A (en) 1990-03-27
JPH0783353B2 true JPH0783353B2 (en) 1995-09-06

Family

ID=16999087

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63236322A Expired - Lifetime JPH0783353B2 (en) 1988-09-22 1988-09-22 Clock switching circuit

Country Status (1)

Country Link
JP (1) JPH0783353B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100468678B1 (en) * 1997-08-20 2005-04-06 삼성전자주식회사 System Clock Generator and Method
JP6190300B2 (en) * 2014-03-27 2017-08-30 Kddi株式会社 Optical transmission apparatus and control method thereof
CN111710274B (en) * 2020-06-12 2023-06-27 深圳市华星光电半导体显示技术有限公司 Clock signal judging circuit and display panel

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5533221A (en) * 1978-08-30 1980-03-08 Yokogawa Hokushin Electric Corp Current output circuit
JPS5953732A (en) * 1982-09-20 1984-03-28 東レ株式会社 Production of crimp yarn crepe weaving and knitting
JPS59100642A (en) * 1982-11-30 1984-06-09 Fujitsu Ltd Alarming circuit of signal interruption

Also Published As

Publication number Publication date
JPH0286236A (en) 1990-03-27

Similar Documents

Publication Publication Date Title
JPH0366863B2 (en)
JPH0783353B2 (en) Clock switching circuit
JP2551666B2 (en) Clock supply switching circuit
JP2949945B2 (en) Transmission line switching circuit
JP2546386B2 (en) Redundant device
JPH05227056A (en) Alarm detection system for redundant constitution circuit
KR100385454B1 (en) Circuit for preventing malfunction on control system
JPH03240378A (en) Video input device
JP2663487B2 (en) Digital communication equipment
JP2000350360A (en) Power supply control system
JPH02148931A (en) Automatic data communication system
JP2970164B2 (en) Switching circuit
JP3686752B2 (en) Clock dependent selection circuit
JPH06197044A (en) Transmitter
JPS6285511A (en) Clock selection system
KR100195966B1 (en) Switching circuit using power combiner for transmitter
JPS6368937A (en) Switching device
JPH0721136A (en) Duplex constitution signal processor
JPH0514322A (en) Changeover control system
JPS6238697A (en) Circuit for selecting trunk line signal
JPH05136768A (en) Clock changeover system with phase synchronization monitor
JPH02272917A (en) Reception circuit switching system
JPH0444444A (en) Telephone set
JPH04299620A (en) Signal path monitor system
JPH0795282B2 (en) Duplex microprocessor automatic switching device