JPH04345224A - Alarm signal detection circuit - Google Patents

Alarm signal detection circuit

Info

Publication number
JPH04345224A
JPH04345224A JP3118279A JP11827991A JPH04345224A JP H04345224 A JPH04345224 A JP H04345224A JP 3118279 A JP3118279 A JP 3118279A JP 11827991 A JP11827991 A JP 11827991A JP H04345224 A JPH04345224 A JP H04345224A
Authority
JP
Japan
Prior art keywords
alarm
outputs
reference value
integration
section
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.)
Withdrawn
Application number
JP3118279A
Other languages
Japanese (ja)
Inventor
Koichi Iwata
耕一 岩田
Koji Matsunaga
浩二 松永
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP3118279A priority Critical patent/JPH04345224A/en
Publication of JPH04345224A publication Critical patent/JPH04345224A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Maintenance And Management Of Digital Transmission (AREA)
  • Monitoring And Testing Of Transmission In General (AREA)

Abstract

PURPOSE:To allow the detection circuit to easily cope with revision of alarm release condition without increasing the circuit scale even when the alarm release condition is revised with respect to the alarm signal detection circuit detecting publication and release of an alarm from a data signal sent via a transmission line. CONSTITUTION:An arithmetic section 101 outputs 0 when a data signal and a clock signal are logical 1 and outputs 1 in other cases. An integration section 102 repetitively integrates number of is outputted by the arithmetic section 101 for each prescribed period. A comparator section 103 outputs a level 1 (alarm publication) when the result of integration of the integration section 102 reaches a reference value or over and outputs a level 0 (alarm release) when the result of integration is less than the reference value. Then a setting section 104 sets the said reference value to an optional value. That is, the result of integration by the integration section 102 is (n-k) when levels of is of the data signal change into 0 for a prescribed period with respect to a clock signal in which is and 0s are repeated for n-times only for the said period. Thus, the comparator 103 compares the value (n-k) with a reference value S and outputs alarm publication when the value (n-k) is the reference value S or over and outputs alarm release when the value (n-k) is less than the reference value S.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】この発明は、伝送路を介して伝送
されるデータ信号から警報の発令および解除を検出する
ための警報信号検出回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an alarm signal detection circuit for detecting the issuance and release of an alarm from data signals transmitted via a transmission line.

【0002】0002

【従来の技術】従来この種の警報信号検出回路において
は、伝送路を介して伝送されるデータを受信して、その
信号が所定期間中連続して1であるときには警報発令い
わゆるAIS信号と判別し、また、所定期間中に1から
0に基準回数だけ変化すると警報解除と判別するように
したものが知られている。
2. Description of the Related Art Conventionally, this type of alarm signal detection circuit receives data transmitted via a transmission line, and when the signal is 1 continuously for a predetermined period, it is determined to be an alarm signal, so-called AIS signal. However, there is also known a system in which it is determined that the alarm has been canceled when the number changes from 1 to 0 by a reference number of times during a predetermined period.

【0003】0003

【発明が解決しようとする課題】しかしながら、従来の
このような警報検出回路においては、警報解除の条件、
すなわち所定期間中に信号が1から0に変化する基準回
数が変更された場合に、それに簡単に対応することが難
しいという問題点があった。
[Problem to be Solved by the Invention] However, in such a conventional alarm detection circuit, the conditions for alarm cancellation,
That is, when the reference number of times a signal changes from 1 to 0 during a predetermined period is changed, there is a problem in that it is difficult to easily respond to the change.

【0004】この発明はこのような事情を考慮してなさ
れたもので、警報解除の条件が変更されても、回路規模
を大きくなることなく容易に対応することが可能な警報
検出回路を提供するものである。
[0004] The present invention has been made in consideration of the above circumstances, and provides an alarm detection circuit that can easily respond to changes in the conditions for canceling the alarm without increasing the circuit scale. It is something.

【0005】[0005]

【課題を解決するための手段】この発明は、図1に示す
ように、受信するデータ信号が、所定期間中、連続して
1であるときには警報信号であると判別し、また、所定
回数だけ1から0に変化すると警報解除信号であると判
別するように構成した警報信号検出回路において、デー
タ信号とクロック信号を受けてデータ信号が1で、かつ
、クロック信号が1の状態では0を出力し、その他の状
態では1を出力する演算部101と、演算部101の出
力する1の数を所定期間毎にくり返し積算する積算部1
02と、積算部102の積算結果が、基準値以上になる
と1を出力し、基準値未満になると0を出力する比較部
103と、前記基準値を任意に設定する設定部104を
備えたことを特徴とする警報信号検出回路を提供するも
のである。
[Means for Solving the Problems] As shown in FIG. 1, the present invention determines that a received data signal is an alarm signal when it is 1 continuously for a predetermined period, and An alarm signal detection circuit configured to determine that it is an alarm release signal when it changes from 1 to 0 receives a data signal and a clock signal and outputs 0 when the data signal is 1 and the clock signal is 1. However, in other states, there is an arithmetic unit 101 that outputs 1, and an integration unit 1 that repeatedly adds up the number of 1s output by the arithmetic unit 101 at predetermined intervals.
02, a comparison unit 103 that outputs 1 when the integration result of the integration unit 102 exceeds a reference value, and outputs 0 when it becomes less than the reference value, and a setting unit 104 that arbitrarily sets the reference value. The present invention provides an alarm signal detection circuit characterized by the following.

【0006】[0006]

【作用】図1において、演算部101は、データ信号と
クロック信号が1の状態のときに0を出力し、その他の
状態では1を出力する。積算部102は、演算部101
の出力する1の数を所定期間毎にくり返し積算する。比
較部103は、積算部102の積算結果が基準値以上に
なると1(警報発令)を出力し、基準値未満になると0
(警報解除)を出力する。そして、設定部104は上記
基準値を任意に設定する。
[Operation] In FIG. 1, the arithmetic unit 101 outputs 0 when the data signal and the clock signal are in the 1 state, and outputs 1 in other states. The integration unit 102 is the calculation unit 101
The number of 1's output by is repeatedly integrated at predetermined intervals. Comparison unit 103 outputs 1 (alarm issue) when the integration result of integration unit 102 exceeds the reference value, and outputs 0 when it becomes less than the reference value.
Outputs (alarm release). Then, the setting unit 104 arbitrarily sets the reference value.

【0007】つまり、所定期間中にn回だけ1と0をく
り返すクロックに対して、同じ期間中にデータ信号がk
回だけ1から0に変化すると、積算部102の積算結果
は(n−k)となる。従って、比較部103は、(n−
k)と基準値Sとを比較し、(n−k)がS以上である
と警報発令を出力し、(n−k)がS未満であると警報
解除を出力する。
In other words, for a clock that repeats 1 and 0 n times during a predetermined period, the data signal repeats k times during the same period.
When the value changes from 1 to 0 by the number of times, the integration result of the integration unit 102 becomes (n−k). Therefore, the comparison unit 103 calculates (n−
k) and a reference value S, and if (n-k) is greater than or equal to S, an alarm is issued, and if (n-k) is less than S, an alarm is issued.

【0008】なお、この基準値Sは設定部104におい
て任意に設定することができるので、警報解除条件、つ
まりkが変化しても容易にそれに対応することが可能で
ある。
Note that this reference value S can be arbitrarily set in the setting section 104, so that even if the alarm release condition, that is, k changes, it can be easily accommodated.

【0009】[0009]

【実施例】以下、図面に示す実施例に基づいてこの発明
を詳述する。これによってこの発明が限定されるもので
はない。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described in detail below based on embodiments shown in the drawings. This invention is not limited by this.

【0010】図2はこの発明の一実施例を示すブロック
図であり、大別すると、101はデータ信号とクロック
信号を受けてデータ信号が1(この実施例では“H”)
で、かつ、クロック信号が1(“H”)の状態のときに
0(この実施例では“L”)を出力し、その他の状態で
は1(“H”)を出力する演算部である。また、102
は演算部101の出力する1(“H”)の数を所定期間
毎にくり返し積算する積算部であり、103は積算部の
積算結果が基準値以上になると1(“H”)を出力し、
基準値未満になると0(“L”)を出力する比較部であ
る。さらに、104は前記基準値を任意に設定する設定
部である。
FIG. 2 is a block diagram showing an embodiment of the present invention. Roughly divided, 101 receives a data signal and a clock signal, and the data signal is 1 ("H" in this embodiment).
, and outputs 0 ("L" in this embodiment) when the clock signal is in the state of 1 ("H"), and outputs 1 ("H") in other states. Also, 102
103 is an integration unit that repeatedly integrates the number of 1 (“H”) output from the calculation unit 101 at predetermined intervals, and 103 outputs 1 (“H”) when the integration result of the integration unit exceeds a reference value. ,
This is a comparison unit that outputs 0 (“L”) when the value is less than the reference value. Furthermore, 104 is a setting unit that arbitrarily sets the reference value.

【0011】演算部101はクロック信号Aとデータ信
号Bを受けて信号Cを出力するNANDゲートから構成
される。積算部102は32進カウンタ2、RAM3、
E−ORゲート4、インクリメント回路5、セレクタ6
およびバッファ7を備える。また、比較部103はコン
ペア回路8およびフリップフロップ9を備える。
The arithmetic unit 101 is composed of a NAND gate that receives a clock signal A and a data signal B and outputs a signal C. The integration unit 102 includes a 32-decimal counter 2, a RAM 3,
E-OR gate 4, increment circuit 5, selector 6
and a buffer 7. Further, the comparison section 103 includes a compare circuit 8 and a flip-flop 9.

【0012】カウンタ2は出力S1によってRAM3の
アドレスを決定し、RAM3はカウンタ2の指令するア
ドレスに対してデータS2の書き込みおよび読み出しを
行う。インクリメント回路5はRAM3から読出された
データS2に「1」を加える動作を行う。バッファ7は
NANDゲート1の出力Cによって制御されRAM3の
書き込み時にゲートを開きインクリメント回路5の出力
をRAM3へ転送する。ORゲート4およびセレクタ6
はRAM3がカウント2の指令するアドレスに初期値と
して書き込むデータ“00”を生成する。コンペア回路
8はデータS2と、設定部104によって任意に設定さ
れる基準値(この実施例では“30”)とを比較し、フ
リップフロップ9はその比較結果をラッチして信号Dと
して出力する。
The counter 2 determines the address of the RAM 3 based on the output S1, and the RAM 3 writes and reads data S2 to the address instructed by the counter 2. The increment circuit 5 performs an operation of adding "1" to the data S2 read from the RAM 3. The buffer 7 is controlled by the output C of the NAND gate 1, and opens its gate when writing to the RAM 3, and transfers the output of the increment circuit 5 to the RAM 3. OR gate 4 and selector 6
generates data "00" which the RAM 3 writes to the address specified by the count 2 as an initial value. The compare circuit 8 compares the data S2 with a reference value ("30" in this embodiment) arbitrarily set by the setting section 104, and the flip-flop 9 latches the comparison result and outputs it as a signal D.

【0013】このような構成における動作を図3に示す
タイムチャートを用いて説明する。まず、期間T1にお
いては、クロック信号Aの1〜32に対して、データ信
号Bが常に“H”であるため、カウンタ2から出力信号
S1の“00”〜“31”が出力されると、それに対応
するROM3のアドレスに対して順次データ“00”〜
“31”の書込みと読出しが行われる。そして最終的に
読み出されたデータ“31”がコンペア回路8において
設定部104によって設定された基準値“30”と比較
され、この場合、読み出されたデータ“31”が基準値
よりも大きいので、コンペア回路8が“H”(警報)を
出力し、フリップフロップ9でラッチされ期間T2にお
いて信号Dとして“H”が出力される。
The operation in such a configuration will be explained using the time chart shown in FIG. First, in the period T1, the data signal B is always "H" with respect to the clock signal A from 1 to 32, so when the counter 2 outputs the output signal S1 from "00" to "31", Sequential data “00” to the corresponding ROM3 address
Writing and reading of "31" is performed. The finally read data "31" is compared with the reference value "30" set by the setting unit 104 in the compare circuit 8, and in this case, the read data "31" is larger than the reference value. Therefore, the compare circuit 8 outputs "H" (alarm), which is latched by the flip-flop 9, and "H" is output as the signal D during the period T2.

【0014】次に、期間T2において、データ信号Bが
2回“H”から“L”に変化すると、NANDゲート1
の出力Cに対応してバッファ7の開く回数が2回減じら
れる。そのため、RAM3のアドレスに対して順次書き
込まれて読出されるデータS2は“00”〜“29”と
なり、最終的に読み出されたデータ“29”が基準値“
30”と比較される。この場合、読み出されたデータ“
29”が基準値“30”よりも小さいので、コンペア回
路8が“L”(警報解除)を出力し、フリップフロップ
9により期間T3でラッチされる。
Next, in period T2, when the data signal B changes from "H" to "L" twice, the NAND gate 1
The number of times the buffer 7 is opened is reduced by two in response to the output C of the buffer 7. Therefore, the data S2 that is sequentially written and read from the address of RAM3 is "00" to "29", and the finally read data "29" is the reference value "
30”. In this case, the read data “
Since "29" is smaller than the reference value "30", the compare circuit 8 outputs "L" (alarm release), and the flip-flop 9 latches it in the period T3.

【0015】なお、この実施例では警報解除条件を32
のクロック信号の期間にデータ信号が2回“H”から“
L”に変化するものと想定して、設定部104の設定す
る基準値を“30”としたが、警報解除条件がこれと異
なる場合には、設定部104の基準値を変更することに
より容易に対応することができる。また、積算部の主構
成がカウンタとRAMであるので、全体の回路規模が小
さくなる。
[0015] In this embodiment, the alarm release condition is set to 32.
The data signal changes from “H” to “” twice during the period of the clock signal.
The reference value set by the setting section 104 was set to "30" assuming that the alarm would change to "L". However, if the alarm release condition is different from this, it is easy to change the reference value of the setting section 104. Furthermore, since the main components of the integration section are a counter and a RAM, the overall circuit scale is reduced.

【0016】[0016]

【発明の効果】この発明によれば、警報信号の解除条件
を任意に設定することができ、しかも、回路の小型化を
計ることが可能となる。
According to the present invention, the conditions for canceling the alarm signal can be arbitrarily set, and the circuit can be miniaturized.

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

【図1】この発明の原理を示すブロック図である。FIG. 1 is a block diagram showing the principle of the invention.

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

【図3】この発明の実施例の動作を示すタイムチャート
である。
FIG. 3 is a time chart showing the operation of the embodiment of the present invention.

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

101  演算部 102  積算部 103  比較部 104  設定部 1  NANDゲート 2  カウンタ 3  RAM 4  ORゲート 5  インクリメント回路 6  セレクタ 7  バッファ 8  コンペア回路 9  フリップフロップ 101 Arithmetic unit 102 Integration section 103 Comparison section 104 Setting section 1 NAND gate 2 Counter 3 RAM 4 OR gate 5 Increment circuit 6 Selector 7 Buffer 8 Compare circuit 9 Flip-flop

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  受信するデータ信号が、所定期間中、
連続して1であるときには警報信号であると判別し、ま
た、所定回数だけ1から0に変化すると警報解除信号で
あると判別するように構成した警報信号検出回路におい
て、データ信号とクロック信号を受けてデータ信号が1
で、かつ、クロック信号が1の状態では0を出力し、そ
の他の状態では1を出力する演算部(101)と、演算
部(101)の出力する1の数を所定期間毎にくり返し
積算する積算部(102)と、積算部(102)の積算
結果が、基準値以上になると1を出力し、基準値未満に
なると0を出力する比較部(103)と、前記基準値を
任意に設定する設定部(104)を備えたことを特徴と
する警報信号検出回路。
[Claim 1] A received data signal is transmitted during a predetermined period of time.
In an alarm signal detection circuit configured to determine that it is an alarm signal when it is 1 continuously, and to determine that it is an alarm release signal when it changes from 1 to 0 a predetermined number of times, the data signal and the clock signal are The data signal is 1
and an arithmetic unit (101) that outputs 0 when the clock signal is 1 and outputs 1 in other states, and repeatedly adds up the number of 1s output by the arithmetic unit (101) at predetermined intervals. an integration section (102); a comparison section (103) that outputs 1 when the integration result of the integration section (102) is equal to or greater than a reference value; and a comparison section (103) that outputs 0 when the integration result is less than the reference value; and arbitrarily sets the reference value. An alarm signal detection circuit characterized in that it includes a setting section (104).
JP3118279A 1991-05-23 1991-05-23 Alarm signal detection circuit Withdrawn JPH04345224A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3118279A JPH04345224A (en) 1991-05-23 1991-05-23 Alarm signal detection circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3118279A JPH04345224A (en) 1991-05-23 1991-05-23 Alarm signal detection circuit

Publications (1)

Publication Number Publication Date
JPH04345224A true JPH04345224A (en) 1992-12-01

Family

ID=14732730

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3118279A Withdrawn JPH04345224A (en) 1991-05-23 1991-05-23 Alarm signal detection circuit

Country Status (1)

Country Link
JP (1) JPH04345224A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013249024A (en) * 2012-06-04 2013-12-12 Sumitomo Rubber Ind Ltd Misuse determination device in tire air pressure warning system, method and program thereof

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013249024A (en) * 2012-06-04 2013-12-12 Sumitomo Rubber Ind Ltd Misuse determination device in tire air pressure warning system, method and program thereof
CN103448493A (en) * 2012-06-04 2013-12-18 住友橡胶工业株式会社 Wrong operation detection device, method, and program in tire pressure monitoring system
US8970361B2 (en) 2012-06-04 2015-03-03 Sumitomo Rubber Industries, Ltd. Wrong operation detection device, method, and program in tire pressure monitoring system
CN103448493B (en) * 2012-06-04 2016-08-31 住友橡胶工业株式会社 Maloperation detection device, method and program in system for monitoring pressure in tyre

Similar Documents

Publication Publication Date Title
US5278957A (en) Data transfer circuit for interfacing two bus systems that operate asynchronously with respect to each other
KR910008547A (en) Computer system with sleep function and its control method
JPS607812B2 (en) Data buffering device
JPH04345224A (en) Alarm signal detection circuit
US7606942B1 (en) Method for input output expansion in an embedded system utilizing controlled transitions of first and second signals
JPS5833764A (en) Time monitor system
KR920001331A (en) Processor
RU1795558C (en) Device for data input and output
SU670958A2 (en) Telemetry information processing device
JPH05236026A (en) Digital signal monitor circuit
JP2734473B2 (en) Data processing device for remote control
JPS63282865A (en) Input/output circuit
SU886000A1 (en) Device for interrupt processing
JPS61145655A (en) Slave error supervisory device
JP2606458Y2 (en) Signal level monitoring circuit
SU858117A1 (en) Shift register testing device
JPS62241044A (en) History information collecting device
JPS5922145A (en) Interruption control system
JPH03296146A (en) Back-up device for program development
JPH0773074A (en) Timer circuit
JPS6379140A (en) Digital integrated circuit
JPH052637A (en) Memory control system
KR950001503A (en) Interface circuit
JPS5960545A (en) Function tester of large scale integrated circuit
JPH03288241A (en) Register device

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19980806