JPH0787444B2 - Bit error protection method - Google Patents
Bit error protection methodInfo
- Publication number
- JPH0787444B2 JPH0787444B2 JP21343489A JP21343489A JPH0787444B2 JP H0787444 B2 JPH0787444 B2 JP H0787444B2 JP 21343489 A JP21343489 A JP 21343489A JP 21343489 A JP21343489 A JP 21343489A JP H0787444 B2 JPH0787444 B2 JP H0787444B2
- Authority
- JP
- Japan
- Prior art keywords
- logic
- value
- signal
- output
- cycle
- 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
Links
Landscapes
- Detection And Prevention Of Errors In Transmission (AREA)
Description
【発明の詳細な説明】 〔概要〕 一定周期で到着する二値の入力信号から妨害信号を除去
するビット誤り保護方式に関し、 二値の入力信号の論理値が、外部からの妨害信号により
変動した場合に、安易に入力信号の変動に追随しない様
にすることを目的とし、 一定周期で到着する二値の入力信号が一方の論理値を示
す場合に加算し、他方の論理値を示す場合に減算して累
算値を計数する計数手段と、計数手段が計数する累算値
を蓄積する蓄積手段と、累算値を予め定められた基準値
と比較し、累算値が基準値に達した場合に出力信号を出
力する比較手段と、比較手段が出力信号を出力した状態
で、一方の論理値を示す入力信号が入力された場合に、
蓄積手段が蓄積する累算値を基準値より大きく定められ
た上限値に設定する設定手段とを設ける様に構成する。The present invention relates to a bit error protection method for removing an interfering signal from a binary input signal that arrives at a fixed period, and a logical value of the binary input signal is changed by an external interfering signal. In this case, in order not to easily follow the fluctuations of the input signal, the binary input signal arriving at a fixed period is added when it shows one logical value, and when it shows the other logical value. The counting means for subtracting and counting the accumulated value, the accumulating means for accumulating the accumulated value counted by the counting means, the accumulated value is compared with a predetermined reference value, and the accumulated value reaches the reference value. In the case where the input signal indicating one of the logical values is input in the state where the output signal is output by the comparing means that outputs the output signal in the case of
Setting means for setting the accumulated value accumulated by the accumulating means to the upper limit value which is set to be larger than the reference value is provided.
本発明は、一定周期で到着する二値の入力信号から妨害
信号を除去するビット誤り保護方式に関する。The present invention relates to a bit error protection system that removes an interfering signal from a binary input signal that arrives at regular intervals.
第4図は本発明の対象となる遠隔制御システムの一例を
示す図であり、第5図は第4図における遠隔制御コマン
ドの一例を示す図である。FIG. 4 is a diagram showing an example of the remote control system which is the subject of the present invention, and FIG. 5 is a diagram showing an example of the remote control command in FIG.
第4図において、親局交換機1から遠隔地に設けられた
遠隔装置2には、複数(x)の加入者3(個々の加入者
を3−1乃至3−xと称する、以下同様)が収容されて
いる。In FIG. 4, a plurality of (x) subscribers 3 (individual subscribers are referred to as 3-1 to 3-x, and so on) are provided in a remote device 2 provided at a remote location from the master exchange 1. It is housed.
親局交換機1からは、遠隔装置2の例えば各加入者3を
収容する加入者回路の現用予備切替等の制御を行う為
に、第5図に示す如き構成を有する遠隔制御コマンドを
所定周期T毎に、伝送路4を経由して遠隔装置2に伝達
する。From the central office switch 1, a remote control command having a structure as shown in FIG. 5 is transmitted from the main station exchange 1 in a predetermined cycle T in order to perform control such as active spare switching of the subscriber circuit accommodating each subscriber 3 for example. Each time, it is transmitted to the remote device 2 via the transmission path 4.
第5図において、遠隔制御コマンドは、各加入者3に対
応する加入者対応時間領域S1乃至Sx毎に伝送される所定
数の制御ビットb1乃至byから構成され、それぞれ所定周
期T毎に繰返し伝送される。In FIG. 5, the remote control command is composed of a predetermined number of control bits b 1 to b y transmitted for each subscriber corresponding time region S 1 to S x corresponding to each subscriber 3, and each has a predetermined cycle T. It is repeatedly transmitted every time.
各制御ビットb1乃至byは、それぞれ固有の制御項目に対
応しており、各制御ビットb1乃至byの論理値に応じて該
当する制御の実行の要否を示す。Each of the control bits b 1 to b y corresponds to a unique control item, and indicates whether or not to execute the corresponding control according to the logical value of each of the control bits b 1 to b y .
例えば各加入者対応時間領域S1乃至Sxにおける制御ビッ
トb1が加入者回路の現用予備の切替制御に対応している
と、親局交換機1において加入者3−1に対応する加入
者対応時間領域S1内の制御ビットb1の論理値を予め定め
られた値(例えば論理“1")に設定し、伝送路4を経由
して遠隔装置2に伝達する。For example, if the control bit b 1 in each subscriber corresponding time region S 1 to S x corresponds to the switching control of the working spare of the subscriber circuit, the subscriber corresponding to the subscriber 3-1 in the master exchange 1 is handled. set the logical value of the control bit b 1 in the time domain S 1 to a predetermined value (e.g., logic "1"), is transmitted to the remote device 2 through the transmission path 4.
遠隔装置2においては、親局交換機1から伝送路4を経
由して所定周期T毎に伝達される遠隔制御コマンドの、
各加入者対応時間領域毎の各制御ビットを監視し、加入
者対応時間領域S1内の制御ビットb1が論理“0"から論理
“1"に変化したことを検出すると、加入者3−1に対応
する加入者回路を、現用から予備への切替動作を実行す
る。In the remote device 2, a remote control command transmitted from the master exchange 1 via the transmission path 4 at every predetermined cycle T,
Each control bit for each subscriber corresponding time domain is monitored, and when it is detected that the control bit b 1 in the subscriber corresponding time domain S 1 has changed from logic “0” to logic “1”, the subscriber 3- The subscriber circuit corresponding to 1 is switched from the working circuit to the protection circuit.
なお加入者3−1に対応する加入者回路の切替を実行し
ない状態で、加入者対応時間領域S1内の制御ビットb1が
伝送路4を経由して伝送されている間に、伝送路4に発
生する雑音等の妨害信号により、論理“0"から論理“1"
に変化すると、遠隔装置2は前述の如く制御ビットb1の
論理値変化を検出し、加入者3−1の加入者回路の切替
を実行することとなる。Note that, while the subscriber circuit corresponding to the subscriber 3-1 is not switched, while the control bit b 1 in the subscriber corresponding time area S 1 is being transmitted via the transmission path 4, Logic “0” to logic “1” due to interference signals such as noise generated in 4
When it changes to, the remote unit 2 detects the change in the logical value of the control bit b 1 as described above and executes the switching of the subscriber circuit of the subscriber 3-1.
以上の説明から明らかな如く、従来ある遠隔制御システ
ムにおいては、遠隔装置2は伝送路4から到着する遠隔
制御コマンドの各加入者対応時間領域S1乃至Sx内の各制
御ビットb1乃至byの論理値が変化すると、直ちに対応す
る制御を実行していた為、各制御ビットb1乃至byの論理
値が、例えば伝送路4上に発生する雑音等の妨害信号に
より誤って変化すると、親局交換機1からの指示に無関
係の制御が実行されることとなり、制御項目によっては
重大な影響を当該システムに及ぼすこととなる。As is apparent from the above description, in the conventional remote control system, the remote unit 2 has the control bits b 1 to b in the subscriber corresponding time regions S 1 to S x of the remote control command arriving from the transmission path 4. When the logical value of y changes, the corresponding control is executed immediately. Therefore, if the logical values of the control bits b 1 to b y change erroneously due to an interference signal such as noise generated on the transmission path 4, for example. The control irrelevant to the instruction from the master station exchange 1 is executed, and depending on the control item, the system may be seriously affected.
本発明は、二値の入力信号の論理値が、外部からの妨害
信号により変動した場合に、安易に入力信号の変動に追
随しない様にすることを目的とする。It is an object of the present invention to prevent a logical value of a binary input signal from easily following the fluctuation of the input signal when the logical value of the binary input signal fluctuates due to an external interference signal.
第1図は本発明の原理を示す図である。 FIG. 1 is a diagram showing the principle of the present invention.
第1図において、100は、本発明により設けられた計数
手段である。In FIG. 1, 100 is a counting means provided by the present invention.
200は、本発明により設けられた蓄積手段である。200 is a storage means provided by the present invention.
300は、本発明により設けられた比較手段である。300 is a comparison means provided by the present invention.
400は、本発明により設けられた設定手段である。400 is a setting means provided by the present invention.
計数手段100は、一定周期で到着する二値の入力信号i
が一方の論理値を示す場合に加算し、他方の論理値を示
す場合に減算して累算値nを計数する。The counting means 100 receives a binary input signal i arriving at a constant cycle.
Is added when one of the logical values indicates one, and subtracted when the other logical value is indicated to count the accumulated value n.
蓄積手段200は、計数手段100が計数する累算値nを蓄積
する。The accumulating means 200 accumulates the accumulated value n counted by the counting means 100.
比較手段300は、累算値nを予め定められた基準値thと
比較し、累算値nが基準値thに達した場合に出力信号o
を出力する。The comparing means 300 compares the accumulated value n with a predetermined reference value th, and outputs the output signal o when the accumulated value n reaches the reference value th.
Is output.
設定手段400は、比較手段300が出力信号oを出力した状
態で、一方の論理値を示す入力信号iが入力された場合
に、蓄積手段200が蓄積する累算値nを基準値thより大
きく定められた上限値mに設定する。The setting means 400 makes the accumulated value n accumulated by the accumulating means 200 larger than the reference value th when the input signal i indicating one of the logical values is input while the comparing means 300 outputs the output signal o. The upper limit value m is set.
従って、入力信号の論理値が、入力信号の論理値の変化
が接続した場合に初めて出力信号の論理値を変化させる
こととなり、入力信号の論理値の外部の妨害による頻繁
な変動に起因する無効な制御が防止可能となる。Therefore, the logical value of the input signal changes the logical value of the output signal only when the change of the logical value of the input signal is connected, and invalidation due to frequent fluctuations due to external disturbance of the logical value of the input signal. Control can be prevented.
以下、本発明の一実施例を図面により説明する。第2図
は本発明の一実施例による信号受信回路を示す図であ
り、第3図は第2図におけるビット誤り保護過程の一例
を示す図である。なお、全図を通じて同一符号は同一対
象物を示す。また対象とする遠隔制御システムは第4図
に示す通りとし、また対象とする遠隔制御コマンドは第
5図に示す通りである。An embodiment of the present invention will be described below with reference to the drawings. FIG. 2 is a diagram showing a signal receiving circuit according to an embodiment of the present invention, and FIG. 3 is a diagram showing an example of a bit error protection process in FIG. The same reference numerals denote the same objects throughout the drawings. The target remote control system is as shown in FIG. 4, and the target remote control command is as shown in FIG.
第2図においては、第1図における計数手段100として
計数回路21および解析部22が設けられ、また第1図にお
ける蓄積手段200としてメモリ23が設けられ、また第1
図における比較手段300として比較回路24が設けられ、
また第1図における設定手段400として選択信号生成部2
5およびセレクタ26が設けられている。In FIG. 2, a counting circuit 21 and an analysis unit 22 are provided as the counting means 100 in FIG. 1, and a memory 23 is provided as the storage means 200 in FIG.
A comparison circuit 24 is provided as the comparison means 300 in the figure,
Further, as the setting means 400 in FIG.
5 and a selector 26 are provided.
第2図に示される信号受信回路は、第4図に示される遠
隔制御システムにおいて、遠隔装置2内に各加入者3に
対応する加入者対応時間領域S1乃至Sx内の各制御ビット
b1乃至byに対応して設けられているものとし、以下の説
明は加入者3−1に対応する加入者対応時間領域S1内の
制御ビットb1を入力信号iとして受信する場合について
説明する。In the remote control system shown in FIG. 4, the signal receiving circuit shown in FIG. 2 has the control bits in the subscriber corresponding time regions S 1 to S x corresponding to the respective subscribers 3 in the remote unit 2.
case b 1 to the ones provided corresponding to b y, the following description which receives the control bit b 1 of the subscriber corresponding time domain S 1 corresponding to the subscriber 3-1 as an input signal i explain.
第2図および第3図において、初期状態においては、メ
モリ22に蓄積されている計数回路21による累算値nは
「0」(但し「n」は十進数を示す)を示し、また累算
値nと共に蓄積されているフラグfは論理“0"に設定さ
れており、また選択信号生成部25からセレクタ26に伝達
される選択信号s1および外部からセレクタ27に入力され
る選択信号s2は共に論理“0"に設定され、セレクタ26お
よび27は何れも入力端子A側を選択しているものとす
る。2 and 3, in the initial state, the cumulative value n accumulated by the counting circuit 21 in the memory 22 is "0" (where "n" is a decimal number), and the cumulative value is cumulative. The flag f stored together with the value n is set to logic "0", and the selection signal s 1 transmitted from the selection signal generation unit 25 to the selector 26 and the selection signal s 2 input from the outside to the selector 27 are set. Are both set to logic "0", and the selectors 26 and 27 are both selecting the input terminal A side.
かかる状態で、伝送路4から所定周期T毎に到着する二
値の入力信号iは、計数回路21、解析部22およびセレク
タ27に入力される。In this state, the binary input signal i arriving from the transmission path 4 every predetermined period T is input to the counting circuit 21, the analysis unit 22, and the selector 27.
解析部22は、入力信号iの論理値と、メモリ23に蓄積さ
れている累算値nとにより計数回路21の計数形式を制御
する。The analysis unit 22 controls the counting format of the counting circuit 21 based on the logical value of the input signal i and the accumulated value n stored in the memory 23.
第一周期T1において、入力信号iが論理“0"を示し、累
算値nが「0」を示すと、解析部22は計数回路21に対し
て何等の計数を行わせない。In the first cycle T 1 , when the input signal i indicates a logic “0” and the accumulated value n indicates “0”, the analysis unit 22 does not cause the counting circuit 21 to perform any counting.
その結果計数回路21は、メモリ23から出力される累算値
n(=「0」)をその侭出力し、比較回路24に伝達する
と共に、セレクタ26の入力端子Aに、フラグf(=論理
“0")と共に入力する。As a result, the counting circuit 21 outputs the accumulated value n (= “0”) output from the memory 23 to the comparison circuit 24 and transmits it to the comparison circuit 24. Input with "0").
比較回路24は、計数回路21から伝達された累算値nと、
予め設定されている基準値th(第3図においては
「4」)とを比較し、条件n<thが成立することから、
出力する比較信号cを論理“0"に設定し、選択信号生成
部25と、セレクタ27お入力端子Aに入力する。The comparison circuit 24 compares the accumulated value n transmitted from the counting circuit 21 with
Since the preset reference value th (“4” in FIG. 3) is compared and the condition n <th is satisfied,
The output comparison signal c is set to logic "0" and input to the selection signal generator 25 and the input terminal A of the selector 27.
セレクタ27は、入力端子Aに入力される比較信号c(=
論理“0")を、出力信号o(=論理“0")として出力す
る。The selector 27 has a comparison signal c (=
The logic "0") is output as the output signal o (= logic "0").
選択信号生成部25は、比較信号cおよび入力信号iの何
れかが論理“0"に設定されている場合には、セレクタ26
に伝達する選択信号s1を論理“0"に設定する。The selection signal generation unit 25 selects the selector 26 when either the comparison signal c or the input signal i is set to logic “0”.
Set the selection signal s 1 to be transmitted to the logic "0".
その結果セレクタ26は、入力端子Aに入力される累算値
n(=「0」)およびフラグf(=論理“0")を、メモ
リ23に格納する。As a result, the selector 26 stores the accumulated value n (= “0”) and the flag f (= logical “0”) input to the input terminal A in the memory 23.
続く第二周期T2に到着する入力信号iが、外部からの妨
害信号により論理“1"に変化すると、解析部22は、入力
信号iが論理“1"を示し、累算値n(=「0」)が、予
め基準値th(=「4」)より大きく定められている上限
値m(第3図においては「8」)未満であることから、
計数回路21に「+1」を計数させる。When the input signal i arriving in the subsequent second cycle T 2 changes to the logic “1” due to the interference signal from the outside, the analysis unit 22 indicates that the input signal i indicates the logic “1” and the accumulated value n (= Since “0”) is less than the upper limit value m (“8” in FIG. 3) that is set in advance larger than the reference value th (= “4”),
The counting circuit 21 is caused to count “+1”.
その結果計数回路21は、メモリ23から出力される累算値
n(=「0」)に「1」を加算してn(=「1」)を出
力する。As a result, the counting circuit 21 adds "1" to the accumulated value n (= "0") output from the memory 23 and outputs n (= "1").
比較回路24は、前述と同様に累算値nと基準値th(=
「4」)とを比較し、依然条件n<thが成立することか
ら、出力する比較信号cを論理“0"に設定する。The comparison circuit 24 uses the accumulated value n and the reference value th (=
"4") is compared, and the condition n <th is still satisfied, the comparison signal c to be output is set to logic "0".
その結果、セレクタ27から出力される出力信号oは論理
“0"に維持される。As a result, the output signal o output from the selector 27 is maintained at the logic "0".
また選択信号生成部25は、比較信号cが論理“0"である
ことから、出力する選択信号s1を論理“0"に設定する
為、メモリ23には、累算値n(=「1」)およびフラグ
f(=論理“0")がセレクタ26を介して格納される。Since the selection signal generator 25 sets the selection signal s 1 to be output to logic “0” because the comparison signal c is logic “0”, the accumulated value n (= “1” is stored in the memory 23). )) And flag f (= logical “0”) are stored via selector 26.
続く第三周期T3に到着する入力信号iも妨害信号により
論理“1"を接続すると、解析部22は、入力信号iが論理
“1"を示し、累算値n(=「1」)が上限値m未満を示
すことから、計数回路21に「+1」の計数を指示し、計
数回路21は累算値n(=「1」)に「1」を加算して累
算値n(=「2」)を出力し、比較回路24は依然条件n
<thが成立することから、出力する比較信号cを論理
“0"に設定し、その結果出力信号oも依然論理“0"に設
定され、また選択信号s1も論理“0"に設定されることか
ら、メモリ23には累算値n(=「2」)およびフラグf
(=論理“0")が格納される。When the input signal i arriving in the subsequent third cycle T 3 is also connected to the logic “1” by the interfering signal, the analysis unit 22 indicates that the input signal i indicates the logic “1” and the accumulated value n (= “1”). Is less than the upper limit value m, the counting circuit 21 is instructed to count “+1”, and the counting circuit 21 adds “1” to the accumulated value n (= “1”) to accumulate the accumulated value n ( = “2”), and the comparison circuit 24 still outputs the condition n.
Since <th is satisfied, the output comparison signal c is set to logic “0”, and as a result, the output signal o is still set to logic “0”, and the selection signal s 1 is also set to logic “0”. Therefore, the accumulated value n (= “2”) and the flag f are stored in the memory 23.
(= Logical “0”) is stored.
続く第四周期T4に妨害信号の影響が除去され、到着する
入力信号iが論理“0"に復帰すると、解析部22は、入力
信号iが論理“0"を示し、累算値n(=「2」)が
「0」より大であることから、計数回路21に「−1」を
計数させる。When the effect of the interfering signal is removed in the subsequent fourth cycle T 4 and the arriving input signal i returns to logic “0”, the analysis unit 22 indicates that the input signal i indicates logic “0” and the accumulated value n ( = “2”) is greater than “0”, the counting circuit 21 is caused to count “−1”.
その結果計数回路21は、メモリ23から出力される累算値
n(=「2」)から「1」を減算してn(=「1」)を
出力し、比較回路24は、前述と同様に累算値nと基準値
th(=「4」)と比較し、依然条件n<thが成立するこ
とから、出力する比較信号cを論理“0"に設定する。As a result, the counting circuit 21 subtracts “1” from the accumulated value n (= “2”) output from the memory 23 and outputs n (= “1”), and the comparison circuit 24 is the same as described above. The accumulated value n and the reference value
Compared with th (= “4”) and the condition n <th is still satisfied, the output comparison signal c is set to logic “0”.
その結果、セレクタ27から出力される出力信号oは論理
“0"を維持し、また選択信号生成部25から出力される選
択信号s1も論理“0"に設定されることから、メモリ23に
は、累算値n(=「1」)およびフラグf(=論理
“0")が格納される。As a result, the output signal o output from the selector 27 maintains the logic “0”, and the selection signal s 1 output from the selection signal generator 25 is also set to the logic “0”. Stores a cumulative value n (= “1”) and a flag f (= logical “0”).
続く第五周期T5に到着する入力信号iも論理“0"を接続
すると、解析部22は、入力信号iが論理“0"を示し、累
算値n(=「1」)が「0」より大であることから、計
数回路21に「−1」の計数を指示し、計数回路21は累算
値n(=「1」)に「1」を減算して累算値n(=
「0」)を出力し、比較回路24は依然条件n<thが成立
することから、出力する比較信号cを論理“0"に設定
し、その結果出力信号oも依然論理“0"に設定され、ま
た選択信号s1も論理“0"に設定されることから、メモリ
23には累算値n(=「0」)およびフラグf(=論理
“0")が格納される。When the input signal i arriving in the subsequent fifth cycle T 5 is also connected to the logic “0”, the analysis unit 22 indicates that the input signal i indicates the logic “0” and the accumulated value n (= “1”) is “0”. Since it is larger than “”, the counting circuit 21 is instructed to count “−1”, and the counting circuit 21 subtracts “1” from the accumulated value n (= “1”) to calculate the accumulated value n (=
"0") and the comparison circuit 24 still satisfies the condition n <th. Therefore, the comparison signal c to be output is set to logic "0", and as a result, the output signal o is also set to logic "0". Since the selection signal s 1 is also set to logic “0”, the memory
A cumulative value n (= “0”) and a flag f (= logical “0”) are stored in 23.
続く第六周期T6に到着する入力信号iも論理“0"を接続
すると、第一周期T1におけると同様に、解析部22は計数
回路21に何等の計数を行わせない為、出力信号oは論理
“0"に設定され、メモリ23には累算値n(=「0」)お
よびフラグf(=論理“0")が格納される。When the input signal i arriving at the subsequent sixth cycle T 6 is also connected to the logic “0”, the analysis unit 22 does not cause the counting circuit 21 to perform any counting, as in the first cycle T 1 , and thus the output signal i o is set to logic "0", and the accumulated value n (= "0") and the flag f (= logic "0") are stored in the memory 23.
続く第七周期T7以降、親局交換機1から加入者3−1の
加入者回路の切替制御を実行させる為に、制御ビットb1
を論理“1"に設定すると、第七周期T7以降に到着する入
力信号iも論理“1"に設定されることとなり、第二周期
T2および第三周期T3におけると同様に、解析部22は計数
回路21に対して「+1」の計数を指示し、計数回路21は
メモリ23から出力される累算値nに「1」を順次加算
し、その結果累算値nは「1」宛増加し、第十周期T10
において「4」に達する。After the subsequent seventh cycle T 7 , in order to execute the switching control of the subscriber circuit of the subscriber 3-1 from the master exchange 1, the control bit b 1
The set to a logic "1", also becomes possible to set to a logic "1" input signal i to arrive after the seventh cycle T 7, the second period
As in T 2 and the third period T 3 , the analysis unit 22 instructs the counting circuit 21 to count “+1”, and the counting circuit 21 outputs “1” to the accumulated value n output from the memory 23. Are sequentially added, and as a result, the accumulated value n increases to “1”, and the tenth cycle T 10
Reaches "4" at.
比較回路24は、第九周期T9迄は累算値nが基準値th(=
「4」)未満であることから、出力する比較信号cを論
理“0"に設定しているが、第十周期T10に累算値nが基
準値th(=「4」)に達し、条件n≧thが成立すると、
出力する比較信号cを論理“1"に設定する。Comparison circuit 24, until the ninth cycle T 9 are accumulated value n is the reference value th (=
Since it is less than “4”), the output comparison signal c is set to logic “0”, but the accumulated value n reaches the reference value th (= “4”) in the tenth cycle T 10 . If the condition n ≧ th holds,
The output comparison signal c is set to logic "1".
その結果セレクタ27は、第十周期T10に出力信号oを論
理“1"に設定する。As a result, the selector 27 sets the output signal o to the logic "1" in the tenth cycle T 10 .
選択信号生成部25は、入力信号iと、比較回路24から入
力される比較信号cとが共に論理“1"に設定されている
場合には、セレクタ26に伝達する選択信号s1を論理“1"
に設定する。When both the input signal i and the comparison signal c input from the comparison circuit 24 are set to logic “1”, the selection signal generation unit 25 sets the selection signal s 1 to be transmitted to the selector 26 to logic “ 1 ”. 1 "
Set to.
セレクタ26は、選択信号生成部25から入力される選択信
号s1が論理“1"に設定されると、入力端子B側に入力さ
れる上限値m(=「8」)およびフラグf(=論理
“1")を、メモリ23に格納する。When the selection signal s 1 input from the selection signal generation unit 25 is set to logic “1”, the selector 26 inputs the upper limit value m (= “8”) and the flag f (= “8”) input to the input terminal B side. The logical “1”) is stored in the memory 23.
第十一周期T11に到着する入力信号iが依然論理“1"に
設定されていると、解析部22は入力信号iが論理“1"を
示し、メモリ23から出力される累算値nが上限値m(=
「8」)を示す場合には、計数回路21に対して何等の計
数を行わせない。When the input signal i arriving at the eleventh cycle T 11 is still set to the logic “1”, the analysis unit 22 indicates that the input signal i indicates the logic “1” and the accumulated value n output from the memory 23 is n. Is the upper limit value m (=
When "8") is indicated, the counting circuit 21 is not allowed to perform any counting.
その結果計数回路21は、メモリ23から出力される累算値
n(=上限値m=「8」)をその侭出力する。As a result, the counting circuit 21 outputs the accumulated value n (= upper limit value m = “8”) output from the memory 23 on its side.
比較回路24は、累算値n(=上限値m=「8」)と基準
値th(=「4」)とを比較し、依然条件n≧thが成立す
ることから、出力する比較信号cを論理“1"に維持す
る。The comparison circuit 24 compares the accumulated value n (= upper limit value m = “8”) with the reference value th (= “4”), and the condition n ≧ th is still satisfied. Is maintained at logic "1".
その結果、セレクタ27から出力される出力信号oは論理
“1"を維持し、また選択信号生成部25から出力される選
択信号s1も論理“1"に設定されることから、メモリ23に
は上限値m(=「8」)およびフラグf(=論理“1")
が格納される。As a result, the output signal o output from the selector 27 maintains the logic “1”, and the selection signal s 1 output from the selection signal generator 25 is also set to the logic “1”. Is the upper limit value m (= “8”) and flag f (= logical “1”)
Is stored.
続く第十二周期T12に到着する入力信号iが、妨害信号
より論理“0"に変化すると、解析部22は、入力信号iが
論理“0"を示し、累算値n(=上限値m=「8」)が
「0」より大であることから、第四周期T4および第五周
期T5におけると同様に、計数回路21に「−1」を計数さ
せる。When the input signal i arriving at the subsequent twelfth cycle T 12 changes from the interference signal to the logic “0”, the analysis unit 22 indicates that the input signal i indicates the logic “0” and the accumulated value n (= upper limit value). Since m = “8”) is larger than “0”, the counting circuit 21 is caused to count “−1” as in the fourth cycle T 4 and the fifth cycle T 5 .
その結果計数回路21は、メモリ23から出力される累算値
n(上限値m=「8」)から「1」を減算してn(=
「7」)を出力する。As a result, the counting circuit 21 subtracts “1” from the accumulated value n (upper limit value m = “8”) output from the memory 23 to obtain n (=
"7") is output.
比較回路27は、前述と同様に累算値n(=「7」)と基
準値th(=「4」)とを比較し、依然条件n≧thが成立
することから、出力する比較信号cを論理“1"に設定す
る。The comparison circuit 27 compares the accumulated value n (= “7”) with the reference value th (= “4”) in the same manner as described above, and the condition n ≧ th is still satisfied. Is set to logic "1".
その結果、セレクタ27から出力される出力信号oは論理
“1"を維持する。As a result, the output signal o output from the selector 27 maintains the logic "1".
一方選択信号生成部25は、入力信号iが論理“0"に設定
されている場合には、常に選択信号s1を論理“0"に設定
する。On the other hand, the selection signal generation unit 25 always sets the selection signal s 1 to the logic “0” when the input signal i is set to the logic “0”.
その結果、セレクタ26は、入力端子A側を選択し、計数
回路21から出力される累算値n(=「7」)を、フラグ
f(=論理“0")と共にメモリ23に格納する。As a result, the selector 26 selects the input terminal A side and stores the accumulated value n (= “7”) output from the counting circuit 21 in the memory 23 together with the flag f (= logical “0”).
続く第十三周期T13に到着する入力信号iも論理“0を
接続すると、解析部22は第十二周期T12におけると同様
に計数回路21に「−1」の計数を指示し、計数回路21は
累算値n(=「7」)から「1」を減算して累算値n
(=「6」)を出力し、比較回路24は累算値n(=
「6」)と基準値th(=「4」)とを比較し、依然条件
n≧thが成立することから、出力する比較信号cを論理
“1"に設定し、その結果出力信号oも依然論理“1"に設
定され、また選択信号s1も論理“0"に設定されることか
ら、メモリ23には累算値n(=「6」)およびフラグf
(=論理“0")が格納される。Continued the thirteenth input signal i arriving to the period T 13 is also connected a logic "0, the analysis unit 22 instructs the counting of" -1 "to the counter circuit 21 as in the twelfth cycle T 12, the counting The circuit 21 subtracts “1” from the accumulated value n (= “7”) to calculate the accumulated value n.
(= "6") is output, and the comparison circuit 24 outputs the accumulated value n (=
“6”) is compared with the reference value th (= “4”), and since the condition n ≧ th is still satisfied, the output comparison signal c is set to logic “1”, and as a result, the output signal o is also set. Since the logic signal is still set to the logic "1" and the selection signal s 1 is also set to the logic "0", the accumulated value n (= "6") and the flag f are stored in the memory 23.
(= Logical “0”) is stored.
続く第十四周期T14に妨害信号の影響が除去され、到着
する入力号iが論理“1"に復帰すると、解析部22は、入
力信号iが論理“1"を示し、累算値n(=「6」)が、
上限値m(=「8」)未満を示すことから、計数回路21
に「+1」を計数させる。When the influence of the interfering signal is removed in the following fourteenth cycle T 14 , and the arriving input signal i returns to logic “1”, the analysis unit 22 causes the input signal i to indicate logic “1” and the accumulated value n. (= “6”)
Since the value is less than the upper limit value m (= “8”), the counting circuit 21
To count "+1".
その結果計数回路21は、メモリ23から出力される累算値
n(=「6」)に「1」を加算してn(=「7」)を出
力する。As a result, the counting circuit 21 adds "1" to the accumulated value n (= "6") output from the memory 23 and outputs n (= "7").
比較回路24は、前述と同様に累算値nと基準値th(=
「4」)とを比較し、依然条件n≧thが成立することか
ら、出力する比較信号cを論理“1"に設定する。The comparison circuit 24 uses the accumulated value n and the reference value th (=
"4") is compared, and the condition n ≧ th is still satisfied, the comparison signal c to be output is set to the logic “1”.
その結果、セレクタ27から出力されるは出力信号oは論
理“1"を維持し、また選択信号生成部25は、入力信号i
と比較信号cとが共に論理“1"に設定されていることか
ら、第十周期T10におけると同様に選択信号s1を論理
“1"に設定する。As a result, the output signal o output from the selector 27 maintains the logic "1", and the selection signal generation unit 25 outputs the input signal i.
Since the comparison signal c and the comparison signal c are both set to logic "1", the selection signal s 1 is set to logic "1" as in the tenth cycle T 10 .
その結果セレクタ26は、第十周期T10におけると同様
に、入力端子B側に入力される上限値m(=「8」)お
よびフラグf(=論理“1")を、メモリ23に格納する。As a result, the selector 26 stores the upper limit value m (= “8”) and the flag f (= logical “1”) input to the input terminal B side in the memory 23, as in the tenth cycle T 10 . .
以後第二十周期T20迄、親局交換機1が制御ビットb1を
論理“1"に保持し、入力信号iも論理“1"に維持する
と、第十一周期T11におけると同様に、解析部22は計数
回路21に何等の計数を行わせない為、出力信号oは論理
“1"に設定され、メモリ23には累算値n(=上限値m=
「8」)およびフラグf(=論理“1")が格納される。After that, if the master exchange 1 holds the control bit b 1 at the logic “1” and the input signal i is maintained at the logic “1” until the 20th cycle T 20 , as in the 11th cycle T 11 , Since the analysis unit 22 does not cause the counting circuit 21 to perform any counting, the output signal o is set to logic "1", and the accumulated value n (= upper limit value m =
“8”) and the flag f (= logical “1”) are stored.
続く第二十一周期T21以降、親局交換機1から加入者3
−1の加入者回路の切替復旧制御を実行させる為に、制
御ビットb1を論理“0"に設定すると、第二十一周期T21
以降に到着する入力信号iも論理“0"に設定されること
となり、第十二周期T12および第十三周期T13におけると
同様に、解析部22は計数回路21に対して「−1」の計数
を指示し、計数回路21はメモリ23から出力される累算値
nから「1」を順次減算し、その結果累算値nは「1」
宛減少し、第二十四周期T24において「4」に達する。Subsequent to the 21st cycle T 21 onward, from the parent exchange 1 to the subscriber 3
When the control bit b 1 is set to logic “0” in order to execute the switching recovery control of the subscriber circuit of −1, the 21st cycle T 21
Input signal i to arrive after also becomes possible to set to a logic "0", as in the twelfth cycle T 12 and the thirteenth cycle T 13, "-1 for the analysis unit 22 counting circuit 21 The counting circuit 21 sequentially subtracts “1” from the accumulated value n output from the memory 23, and as a result, the accumulated value n is “1”.
It decreases to "4" in the 24th cycle T 24 .
比較回路24は、第二十四周期T24迄は条件n≧thが成立
することから、出力する比較信号cを論理“1"に設定し
ているが、第25周期T25に累算値nが「3」となり、条
件n<thが成立すると、以後出力する比較信号cを論理
“0"に設定する。The comparison circuit 24 sets the comparison signal c to be output to logic “1” because the condition n ≧ th is satisfied until the 24th cycle T 24, but the accumulated value is set in the 25th cycle T 25. When n becomes "3" and the condition n <th is satisfied, the comparison signal c to be subsequently output is set to the logic "0".
その結果、セレクタ27から出力されるは出力信号oも、
第二十四周期T24迄は論理“1"に維持されているが、第
二十五周期T25以降は論理“0"に設定・維持される。As a result, the output signal o output from the selector 27 is also
Until twenty-fourth period T 24 is maintained at logic "1", but twenty-fifth cycle T 25 after being set and maintained in the logic "0".
選択信号生成部25は出力する選択信号s1も、入力信号i
が論理“0"に設定される第二十一周期T21以降は論理
“0"に設定される為、セレクタ26は、第二十一周期T21
周期以降入力端子A側を選択し、計数回路21から出力さ
れる累算値nを、フラグf(=論理“0")と共にメモリ
23に格納する。The selection signal generator 25 outputs the selection signal s 1 as well as the input signal i
There order is set to a logic "0" in the twenty-first cycle T 21 after being set to a logic "0", the selector 26, the twenty-first cycle T 21
After the cycle, the input terminal A side is selected, and the accumulated value n output from the counting circuit 21 is stored in the memory together with the flag f (= logical “0”).
Store in 23.
以上により、メモリ23に格納される累算値nは、第二十
周期T20迄上限値m(=「8」)を維持し、第二十一周
期T21以降「1」宛減少し、第二十四周期T24に基準値th
(=「4」)に達した後、第二十八周期T28に「0」と
なり、再び第一周期T1と同一状態となる。As a result, the accumulated value n stored in the memory 23 maintains the upper limit value m (= “8”) until the 20th cycle T 20 and decreases to “1” after the 21st cycle T 21 , Reference value th in the 24th cycle T 24
After reaching (= “4”), it becomes “0” in the twenty-eighth cycle T 28 , and becomes the same state as the first cycle T 1 again.
以上の説明から明らかな如く、本実施例によれば、信号
受信回路に到着する入力信号iが第七周期T7以降論理
“1"に設定されると、三周期後の第十周期以降出力信号
oを論理“1"に設定し、入力信号iが第二十一周期T21
以降論理“0"に設定されると、四周期後の第二十五周期
T25以降出力信号oを論理“0"に設定し、第二周期T2お
よび第三周期T3に妨害信号の為に入力信号iが論理“1"
に設定されても出力信号oは論理“0"を維持し、また第
十二周期T12および第十三周期T13に妨害信号の為に入力
信号iが論理“0"に設定されても出力信号oは論理“1"
を維持する。As apparent from the above description, according to this embodiment, when the input signal i arriving at the signal receiving circuit is set to a logic "1" seventh period T 7 or later, the tenth cycle since output after three cycles The signal o is set to logic "1", and the input signal i becomes 21st cycle T 21.
After that, if set to logic "0", the 25th cycle after 4 cycles
After T 25, the output signal o is set to logic “0”, and the input signal i is set to logic “1” due to the interference signal in the second period T 2 and the third period T 3.
Set be output signal o is maintained at logic "0", the addition input signal i for the interfering signal in the twelfth cycle T 12 and the thirteenth period T 13 is also set to a logic "0" Output signal o is logical "1"
To maintain.
従って、遠隔装置2において出力信号oに基づき加入者
3−1の加入者回路の切替制御を実行すれば、妨害信号
による無効の切替制御は実行せず、確実に安定した切替
制御が実行可能となる。Therefore, if the remote device 2 executes the switching control of the subscriber circuit of the subscriber 3-1 based on the output signal o, the invalid switching control by the interfering signal is not executed, and the stable switching control can be surely executed. Become.
なお遠隔装置2の試験等を行う場合に、入力信号iを直
接出力信号oとして出力必要がある場合には、外部から
セレクタ27に入力する選択信号s2を論理“1"に設定す
る。その結果セレクタ27の入力端子Bに入力される入力
信号iが、その侭出力信号oとして出力される。When it is necessary to directly output the input signal i as the output signal o when testing the remote device 2 or the like, the selection signal s 2 input to the selector 27 from the outside is set to the logic “1”. As a result, the input signal i input to the input terminal B of the selector 27 is output as its side output signal o.
なお、第2図および第3図はあく迄本発明の一実施例に
過ぎず、例えば基準値thおよび上限値mは図示されるも
のに限定されることは無く、他に幾多の変形が考慮され
るが、何れの場合にも本発明の効果は変わらない。また
本発明の対象は、図示される遠隔制御システムおよび信
号受信回路に限定されぬことは言う迄も無い。It is to be noted that FIGS. 2 and 3 are merely examples of the present invention until now, and the reference value th and the upper limit value m are not limited to those shown in the figure, and many other modifications are considered. However, the effect of the present invention does not change in any case. It goes without saying that the subject matter of the present invention is not limited to the remote control system and the signal receiving circuit shown.
以上、本発明によれば、入力信号の論理値が、入力信号
の論理値の変化が接続した場合に初めて出力信号の論理
値を変化させることとなり、入力信号の論理値の外部の
妨害による頻繁な変動に起因する無効な制御が防止可能
となる。As described above, according to the present invention, the logic value of the input signal changes the logic value of the output signal only when the change of the logic value of the input signal is connected. It is possible to prevent invalid control caused by such a fluctuation.
第1図は本発明の原理を示す図、第2図は本発明の一実
施例による信号受信回路を示す図、第3図は第2図にお
けるビット誤り保護過程の一例を示す図、第4図は本発
明の対象となる遠隔制御システムの一例を示す図、第5
図は第4図における遠隔制御コマンドの一例を示す図で
ある。 図において、1は親局交換機、2は遠隔装置、3は加入
者、4は伝送路、21は計数回路、22は解析部、23はメモ
リ、24は比較回路、25は選択信号生成部、26および27は
セレクタ、100は計数手段、200は蓄積手段、300は比較
手段、400は設定手段、を示す。1 is a diagram showing the principle of the present invention, FIG. 2 is a diagram showing a signal receiving circuit according to an embodiment of the present invention, FIG. 3 is a diagram showing an example of a bit error protection process in FIG. 2, and FIG. FIG. 5 is a diagram showing an example of a remote control system to which the present invention is applied;
The figure is a diagram showing an example of the remote control command in FIG. In the figure, 1 is a central office switch, 2 is a remote device, 3 is a subscriber, 4 is a transmission line, 21 is a counting circuit, 22 is an analysis unit, 23 is a memory, 24 is a comparison circuit, 25 is a selection signal generation unit, 26 and 27 are selectors, 100 is counting means, 200 is storage means, 300 is comparison means, and 400 is setting means.
Claims (1)
が一方の論理値を示す場合に加算し、他方の論理値を示
す場合に減算して累算値(n)を計数する計数手段(10
0)と、 前記計数手段(100)が計数する累算値(n)を蓄積す
る蓄積手段(200)と、 前記累算値(n)を予め定められた基準値(th)と比較
し、前記累算値(n)が前記基準値(th)に達した場合
に出力信号(o)を出力する比較手段(300)と、 前記比較手段(300)が前記出力信号(o)を出力した
状態で、前記一方の論理値を示す入力信号(i)が入力
された場合に、前記蓄積手段(200)が蓄積する前記累
算値(n)を前記基準値(th)より大きく定められた上
限値(m)に設定する設定手段(400)とを設けること
を特徴とするビット誤り保護方式。1. A binary input signal (i) arriving at a fixed period.
Counting means (10) for counting the accumulated value (n) by adding when one indicates a logical value and subtracting when indicating the other logical value.
0), an accumulating means (200) for accumulating the accumulated value (n) counted by the counting means (100), and comparing the accumulated value (n) with a predetermined reference value (th), A comparison means (300) that outputs an output signal (o) when the accumulated value (n) reaches the reference value (th), and the comparison means (300) outputs the output signal (o). In this state, when the input signal (i) indicating the one logical value is input, the accumulated value (n) accumulated by the accumulating means (200) is set to be larger than the reference value (th). A bit error protection method comprising: a setting means (400) for setting an upper limit value (m).
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP21343489A JPH0787444B2 (en) | 1989-08-19 | 1989-08-19 | Bit error protection method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP21343489A JPH0787444B2 (en) | 1989-08-19 | 1989-08-19 | Bit error protection method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH0377447A JPH0377447A (en) | 1991-04-03 |
| JPH0787444B2 true JPH0787444B2 (en) | 1995-09-20 |
Family
ID=16639166
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP21343489A Expired - Lifetime JPH0787444B2 (en) | 1989-08-19 | 1989-08-19 | Bit error protection method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0787444B2 (en) |
-
1989
- 1989-08-19 JP JP21343489A patent/JPH0787444B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPH0377447A (en) | 1991-04-03 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US3532827A (en) | Scanner arrangement for identifying circuits changing their states,storing the times of such change,and determining the character of the change in a communication switching system | |
| US5884101A (en) | Apparatus for detecting data buffer faults | |
| US4551833A (en) | Distributed monitoring of packet transmission delay | |
| US5765218A (en) | Address generating circuit for generating addresses separated by a prescribed step value in circular addressing | |
| US6049523A (en) | System and method for achieving efficient coordination of protection switching | |
| JPH03114327A (en) | Congestion monitoring device for computer networks | |
| KR910000696B1 (en) | Digital signal transmission system having frame synchronization operation | |
| CN110795289B (en) | Multi-clock automatic switching method | |
| JPH0787444B2 (en) | Bit error protection method | |
| KR101537680B1 (en) | Event communication apparatus for protection relay | |
| US5867096A (en) | Method for signal degradation alarm detection and cancellation in synchronous digital microwave system | |
| JPH0846603A (en) | Signal interrupt monitor circuit and signal period detection circuit | |
| Paterson et al. | Contention resolution with bounded delay | |
| US6766016B2 (en) | Supervisory control system | |
| Logothetis et al. | The effect of detection and restoration times for error recovery in communication networks | |
| US20230164048A1 (en) | Multi-link receiving method and multi-link receiver | |
| Ekanayake et al. | Stability of discrete-time systems with time-varying delays | |
| JPS6028458B2 (en) | Data collection method | |
| SU739534A1 (en) | Device for interruption programs | |
| JP2868871B2 (en) | Alarm circuit | |
| JPS6324681Y2 (en) | ||
| SU734689A1 (en) | Priority device | |
| US20060256715A1 (en) | Protection switching and monitoring method and arrangement in a data transmission system | |
| JPH05344103A (en) | Line monitoring system | |
| JPH04270527A (en) | Packet information counter |