JPH05219032A - Switching circuit - Google Patents

Switching circuit

Info

Publication number
JPH05219032A
JPH05219032A JP4042161A JP4216192A JPH05219032A JP H05219032 A JPH05219032 A JP H05219032A JP 4042161 A JP4042161 A JP 4042161A JP 4216192 A JP4216192 A JP 4216192A JP H05219032 A JPH05219032 A JP H05219032A
Authority
JP
Japan
Prior art keywords
circuit
data
signal
switching
route
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP4042161A
Other languages
Japanese (ja)
Other versions
JP2776117B2 (en
Inventor
Shigeru Usuki
繁 臼杵
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 JP4042161A priority Critical patent/JP2776117B2/en
Publication of JPH05219032A publication Critical patent/JPH05219032A/en
Application granted granted Critical
Publication of JP2776117B2 publication Critical patent/JP2776117B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To provide the switching circuit which securely informs an opposite- side device that data are switched. CONSTITUTION:The switching circuit equipped with a switch 6 which selects one normal route between two routes is equipped with an all-'1' signal generating circuit 9 which generates an all-'1' signal, a time setting circuit 10 which passes the all-'1' signal for a time of specific frame length by actuating a route changeover switch 7, and an exclusive OR circuit 3 which exclusively ORs an input signal and the all-'1' signal. Further, the circuit is equipped with a data verifying circuit 2 which verifies the data of the output signal of the exclusive OR circuit 3, a multiplexing circuit 1 which multiplexes respective information signals such as data and a flag, a CRC adding circuit 4 which adds CRC codes to the multiplexed data, the route changeover switch 7 which is a manual switch, a delay circuit 8 which delays the state change information of this route changeover switch 7, and a switching control circuit 5 which controls the switching of the switch 6 with the output of the delay circuit 8.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、切替回路に関し、特に
PCMキャクアリレー情報伝送装置のルート切替等に好
適な切替回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a switching circuit, and more particularly to a switching circuit suitable for route switching of a PCM cache relay information transmission device.

【0002】[0002]

【従来の技術】従来、この種の切替回路は、各ルートの
データ検定結果により、異常検出していないルートを選
び、また、ルート切替スイッチにより強制的にどちらか
一方のルートを選ぶ方式となっている。図2に示すよう
に、入力信号Aは必要なデータがフレーム構成をとった
タイムスロット上に並びサイクリックに送られてくる。
2. Description of the Related Art Conventionally, this type of switching circuit has a system in which a route in which no abnormality is detected is selected based on the data verification result of each route, and one of the routes is forcibly selected by a route changeover switch. ing. As shown in FIG. 2, the input signal A is cyclically sent with necessary data arranged in time slots having a frame structure.

【0003】この入力信号Aは、多重回路1に入力され
ると、同時にデータ検定回路2へも入力される。データ
検定回路2では、フレーム単位にCRC検定を行ない、
検定結果をフレーム単位12信号gとして出力し、多重
回路1でデータ不良フラグのビット位置にこの検定結果
を重畳する。また、4フレーム連続検定結果不良となる
と信号mが出力され切替制御の一要素となる。CRC付
加回路4にて多重されたデータに対してCRC符号を付
加して切替器6へ接続する。
When the input signal A is input to the multiplexing circuit 1, it is also input to the data verification circuit 2. In the data verification circuit 2, a CRC test is performed in frame units,
The test result is output as a frame unit 12 signal g, and the multiplex circuit 1 superimposes the test result on the bit position of the data defect flag. Further, when the result of the continuous verification of four frames becomes defective, the signal m is output, which becomes one element of the switching control. A CRC code is added to the multiplexed data by the CRC adding circuit 4 and the data is connected to the switch 6.

【0004】切替制御回路5では、入力信号Aのデータ
検定結果と入力信号Bのデータ検定結果から切替論理を
演算し、この結果を切替信号Pとして、切替器6へ出力
し入力信号の切替を行ない出力信号として出力する。ル
ート切替スイッチ7は、切替制御回路5で行なわれる切
替論理に直接働きかけ、強制的に切替信号Pを決定し切
替器6を動作させる。
In the switching control circuit 5, a switching logic is calculated from the data test result of the input signal A and the data test result of the input signal B, and the result is output to the switch 6 as the switching signal P to switch the input signal. Output as an output signal. The route changeover switch 7 directly acts on the changeover logic performed by the changeover control circuit 5, forcibly determines the changeover signal P, and operates the changeover device 6.

【0005】[0005]

【発明が解決しようとする課題】従来の切替回路で、自
動切替の状態ではデータ検定結果をフレームフォーマッ
ト中に不良フラグを立てて、対向装置へデータが無効で
あることを通知しているが、ルート切替スイッチによる
手動切替では、フレームフォーマット中にフラグを立て
ないで、単に機械的な切替えを行うため、対向装置では
いつ切替えが行なわれたのか、また、本当に切替えがあ
ったのかも解らない状態に陥る。
In the conventional switching circuit, in the state of automatic switching, the data test result is flagged in the frame format to notify the opposite device that the data is invalid. In the manual switching by the route changeover switch, the flag is not set in the frame format, and the mechanical switching is simply performed, so it is not possible to know when the switching was performed in the opposite device, or whether there was a real switching. Fall into.

【0006】さらに、特殊な場合として、入力信号Aと
入力信号Bとのフレーム同期が合っている状態でルート
切替スイッチでの切替えは対向装置では、フレーム同期
が合っているにもかかわらずデータの中身がまったく違
うことになり、前後のつながりが断たれると誤動作を引
起こす危険性が多分に内在していた。
Further, as a special case, the switching by the route changeover switch in the state where the input signal A and the input signal B are in frame synchronization is performed by the opposite device even though the frame synchronization is achieved. The contents were completely different, and there was probably a risk of causing a malfunction if the connection between the front and back was broken.

【0007】[0007]

【発明の目的】本発明は、かかる従来例の有する不都合
を改善し、とくに、データの切替わりを対向装置に確実
に通知し得る切替回路を提供することを、その目的とす
る。
SUMMARY OF THE INVENTION It is an object of the present invention to improve the disadvantages of the conventional example, and in particular to provide a switching circuit capable of reliably notifying the opposite device of data switching.

【0008】[0008]

【課題を解決するための手段】本発明では、2ルートか
ら正常なルートをひとつ選ぶ切替器を備えた切替回路に
おいて、オール「1」信号を発生するオール「1」信号
発生回路と、ルート切替スイッチの起動により所定フレ
ーム長の時間だけオール「1」信号を通す時間設定回路
と、入力信号とオール「1」信号との排他的論理和を演
算する排他的論理和回路と、この排他的論理和回路の出
力信号をデータ検定するデータ検定回路と、データ・フ
ラグなど各情報信号を多重する多重回路と、多重後のデ
ータにCRC符号を付加するCRC付加回路と、手動ス
イッチのルート切替スイッチと、このルート切替スイッ
チの状態変化通知を遅延する遅延回路と、この遅延回路
の出力により前記切替器の切替制御を行う切替制御回路
とを具備する、という構成を採っている。これによって
前述した目的を達成しようとするものである。
According to the present invention, in a switching circuit equipped with a switch for selecting one normal route from two routes, an all "1" signal generating circuit for generating all "1" signals and a route switching. A time setting circuit that allows all "1" signals to pass for a predetermined frame length when the switch is activated, an exclusive OR circuit that calculates an exclusive OR of the input signal and all "1" signals, and this exclusive logic A data verification circuit for verifying the output signal of the sum circuit, a multiplexing circuit for multiplexing each information signal such as a data flag, a CRC adding circuit for adding a CRC code to the data after the multiplexing, and a route change switch for a manual switch. A delay circuit for delaying the state change notification of the route changeover switch, and a switching control circuit for controlling the switching of the switcher by the output of the delay circuit, It adopts a cormorant configuration. This aims to achieve the above-mentioned object.

【0009】[0009]

【発明の実施例】次に、本発明について図面を参照して
説明する。図1は本発明の一実施例の切替回路の構成図
である。全体の信号の流れは、入力信号A、入力信号B
を切替器6で出力信号Cとして一方を選んで出力する。
オール「1」信号発生回路9では、常時「1」の信号を
発生している。時間設定回路10はルート切替スイッチ
7からの起動がない限りは出力uを「1」レベルに固定
し、ルート切替スイッチ7からの起動がかかると、ある
設定したフレーム長の時間だけゲートを開いてオール
「1」信号発生回路9の出力tをそのまま出力uとして
出力し、排他的論理和回路3の片方の入力へと接続す
る。排他的論理和回路3は、常時は出力uが「1」レベ
ルのため入力信号A及び入力信号Bはそのまま出力さ
れ、信号fまたは信号jとなる。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described with reference to the drawings. FIG. 1 is a configuration diagram of a switching circuit according to an embodiment of the present invention. The overall signal flow is as follows: input signal A, input signal B
Is output by the switch 6 as the output signal C.
The all "1" signal generation circuit 9 constantly generates a signal of "1". The time setting circuit 10 fixes the output u at the “1” level unless the route changeover switch 7 starts up, and when the route changeover switch 7 starts up, the gate is opened for a certain set frame length time. The output t of the all "1" signal generation circuit 9 is directly output as the output u and is connected to one input of the exclusive OR circuit 3. In the exclusive OR circuit 3, since the output u is always at "1" level, the input signal A and the input signal B are output as they are and become the signal f or the signal j.

【0010】また、オール「1」信号が入力されれば排
他的論理和演算により入力信号Aまたは入力信号Bに対
して反転した状態となり、入力信号とはまったく別な信
号となる。
If an all "1" signal is input, the signal is inverted with respect to the input signal A or the input signal B by the exclusive OR operation, and the signal is completely different from the input signal.

【0011】データ検定回路2は、信号fまたはjに対
して、サイクッリクに送られてくるフレーム単位にCR
C検定を行ない、フレーム単位での良否結果をgまたは
kとして出力し、多重回路1において所定のビット位置
にデータ不良フラグとして重畳する。また、4フレーム
連続検定不良の場合には、データ検定回路2から信号m
又はnが出力され、切替制御の一要素として切替制御回
路5にて論理演算に用いられる。
The data verification circuit 2 applies CR to the signal f or j in frame units sent cyclically.
The C test is performed, the pass / fail result in units of frames is output as g or k, and is superimposed as a data defect flag at a predetermined bit position in the multiplexing circuit 1. Further, in the case of the 4-frame continuous verification failure, the signal m from the data verification circuit 2
Alternatively, n is output and used as a logical element in the switching control circuit 5 as one element of switching control.

【0012】CRC付加回路4では多重されたデータに
対してCRC符号をつけ加えてフレームフォーマットを
成形し切替器6へ出力する。切替制御回路5では、デー
タ検定結果m,nを監視していて、連続4フレーム検定
不良を検出したら正常なルートへ切替える。異常復旧の
条件は異常検出の状態から連続4フレーム検定良となっ
た時である。
The CRC adding circuit 4 adds a CRC code to the multiplexed data to form a frame format and outputs the frame format to the switch 6. The switching control circuit 5 monitors the data verification results m and n, and switches to a normal route when a continuous 4-frame verification failure is detected. The condition for abnormal recovery is when the continuous four-frame verification becomes good from the abnormal detection state.

【0013】切替器6は、切替制御回路5からの切替信
号Pにより切替える。ルート切替スイッチ7は、ルート
選択と自動の状態が設定でき、ルート選択時はデータ検
定結果よりも優先される構成となっている。ルート選択
設定時は、多重回路1でデータ不良フラグを重畳し、こ
の不良フラグが確実に対向装置で受信される様ルート切
替スイッチ7の状態通知信号qに約4フレーム分の遅延
を入れるように遅延回路8を接続する。
The switch 6 is switched by a switching signal P from the switching control circuit 5. The route changeover switch 7 can set a state of route selection and an automatic state, and has a configuration in which priority is given to the data verification result when the route is selected. At the time of setting the route selection, the data defect flag is superimposed on the multiplexing circuit 1, and the state notification signal q of the route changeover switch 7 is delayed by about 4 frames so that the defect flag is surely received by the opposite device. The delay circuit 8 is connected.

【0014】[0014]

【発明の効果】以上説明したように、本発明によると、
ルート切替スイッチの状態変化に対応してフレームフォ
ーマット中にデータ不良フラグを立てるように制御する
ことにより、データの切替わりを対向装置へ確実に通知
することが可能となり、このため、対向装置では、ある
時点からデータ不良フラグが立っているデータが入力し
てきて、データは無効であると判断し、その後正常デー
タが入力してくるという動作となり、これがためシステ
ム全体の信頼性の向上を図り得るという従来にない優れ
た切替回路を提供することができる。
As described above, according to the present invention,
By controlling the data failure flag to be set in the frame format in response to the change in the state of the route changeover switch, it becomes possible to reliably notify the opposite device of the data switching. Therefore, in the opposite device, From a certain point in time, the data with the data defect flag is input, it is judged that the data is invalid, and then the normal data is input, which means that the reliability of the entire system can be improved. It is possible to provide an excellent switching circuit that has never been provided.

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

【図1】本発明の一実施例のを示すブロック図である。FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】従来例のを示すブロック図である。FIG. 2 is a block diagram showing a conventional example.

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

1 多重回路 2 データ検定回路 3 排他的論理和回路 4 CRC付加回路 5 切替制御回路 6 切替器 7 ルート切替スイッチ 8 遅延回路 9 オール「1」信号発生回路 10 時間設定回路 1 Multiplexing circuit 2 Data verification circuit 3 Exclusive OR circuit 4 CRC addition circuit 5 Switching control circuit 6 Switching device 7 Route changeover switch 8 Delay circuit 9 All "1" signal generation circuit 10 Time setting circuit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 2ルートから正常なルートをひとつ選ぶ
切替器を備えた切替回路において、オール「1」信号を
発生するオール「1」信号発生回路と、ルート切替スイ
ッチの起動により所定フレーム長の時間だけオール
「1」信号を通す時間設定回路と、入力信号とオール
「1」信号との排他的論理和を演算する排他的論理和回
路と、この排他的論理和回路の出力信号をデータ検定す
るデータ検定回路と、データ・フラグなど各情報信号を
多重する多重回路と、多重後のデータにCRC符号を付
加するCRC付加回路と、手動スイッチのルート切替ス
イッチと、このルート切替スイッチの状態変化通知を遅
延する遅延回路と、この遅延回路の出力により前記切替
器の切替制御を行う切替制御回路とを具備したことを特
徴とする切替回路。
1. A switching circuit having a switching device for selecting one normal route from two routes, an all "1" signal generating circuit for generating all "1" signals, and a predetermined frame length when a route changeover switch is activated. A time setting circuit that passes all "1" signals only for a time, an exclusive OR circuit that calculates the exclusive OR of the input signal and all "1" signals, and a data test of the output signal of this exclusive OR circuit. Data verification circuit, a multiplexing circuit that multiplexes each information signal such as a data flag, a CRC adding circuit that adds a CRC code to the data after multiplexing, a route changeover switch of a manual switch, and a state change of this route changeover switch. A switching circuit comprising: a delay circuit for delaying notification and a switching control circuit for controlling switching of the switcher by an output of the delay circuit.
JP4042161A 1992-01-31 1992-01-31 Switching circuit Expired - Lifetime JP2776117B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4042161A JP2776117B2 (en) 1992-01-31 1992-01-31 Switching circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4042161A JP2776117B2 (en) 1992-01-31 1992-01-31 Switching circuit

Publications (2)

Publication Number Publication Date
JPH05219032A true JPH05219032A (en) 1993-08-27
JP2776117B2 JP2776117B2 (en) 1998-07-16

Family

ID=12628236

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4042161A Expired - Lifetime JP2776117B2 (en) 1992-01-31 1992-01-31 Switching circuit

Country Status (1)

Country Link
JP (1) JP2776117B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9895502B2 (en) 2012-09-26 2018-02-20 Terumo Kabushiki Kaisha Medical device and method for controlling same

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9895502B2 (en) 2012-09-26 2018-02-20 Terumo Kabushiki Kaisha Medical device and method for controlling same

Also Published As

Publication number Publication date
JP2776117B2 (en) 1998-07-16

Similar Documents

Publication Publication Date Title
JPH0778039A (en) Clock selection control system
JPH05219032A (en) Switching circuit
JPH0595345A (en) Changeover circuit
JPH05235914A (en) Signal changeover device
JP3250778B2 (en) Short instantaneous interruption switching circuit and instantaneous interruption switching circuit
JPH0563683A (en) Redundancy system switching device for digital transmission
JPH05300049A (en) Signal changeover circuit
JPH05235887A (en) Uninterruptible clock changeover device
JP3323977B2 (en) Signal switching circuit
JPH0556022A (en) Transmission line switching circuit
JP2600576B2 (en) Clock loss detection device
JPH04183131A (en) Line changeover method
JPH08149114A (en) Data receiver
JPH0541678A (en) Inter-transmitter signal path changeover system
CA2173541A1 (en) Non-vital turn off of vital output circuit
JPH09284979A (en) Forced operation input method of digital relay
EP0211674A2 (en) Clock signal selection and security arrangements
JPS63304735A (en) Branching and inserting repeater
JPH06197102A (en) Clock signal selecting device
JPH04248717A (en) Multiplex changeover cirucit
JPH05176017A (en) Redundant system switching system in digital transmission system
JPS60182832A (en) Supervisory system of multiplex separating device
JPH01318379A (en) Picture signal decoding method
KR20030025612A (en) Redundancy clock changing circuit using delay line
JPH05152993A (en) Switching system for redundant structure transmission line

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19980331