JPH0679298B2 - Abnormality monitoring circuit for multi-drop serial bus transmission unit - Google Patents

Abnormality monitoring circuit for multi-drop serial bus transmission unit

Info

Publication number
JPH0679298B2
JPH0679298B2 JP60023114A JP2311485A JPH0679298B2 JP H0679298 B2 JPH0679298 B2 JP H0679298B2 JP 60023114 A JP60023114 A JP 60023114A JP 2311485 A JP2311485 A JP 2311485A JP H0679298 B2 JPH0679298 B2 JP H0679298B2
Authority
JP
Japan
Prior art keywords
transmission
level
serial bus
monitoring circuit
driver
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP60023114A
Other languages
Japanese (ja)
Other versions
JPS61183761A (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.)
Meidensha Electric Manufacturing Co Ltd
Original Assignee
Meidensha Electric Manufacturing Co 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 Meidensha Electric Manufacturing Co Ltd filed Critical Meidensha Electric Manufacturing Co Ltd
Priority to JP60023114A priority Critical patent/JPH0679298B2/en
Publication of JPS61183761A publication Critical patent/JPS61183761A/en
Publication of JPH0679298B2 publication Critical patent/JPH0679298B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Description

【発明の詳細な説明】 A、産業上の利用分野 この発明は、伝送路としてマルチドロツプ・シリアルバ
スを使用する伝送ユニツトに関し、特に、送信系の異常
がバスに波及しないようにするための異常監視回路に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a transmission unit using a multidrop serial bus as a transmission path, and in particular, abnormality monitoring for preventing transmission system abnormality from spreading to the bus. Regarding the circuit.

B、発明の概要 この発明は、マルチドロツプ・シリアルバスに送信ドラ
イバをワイヤードロジツク接続する伝送ユニツトにおい
て、送信ドライバに与える送信データ信号が一定時間以
上継続して能動レベルになる異常を時間監視回路手段で
検出するとともに、この回路手段の検出信号が発生した
とき上記送信ドライバの入力を不動レベルに固定するよ
うにゲート回路手段を設けることにより、送信データの
発生系の異常が生じても、バスが能動レベルに固定され
るシステムダウン状態を回避できるようにしたものであ
る。
B. SUMMARY OF THE INVENTION According to the present invention, in a transmission unit in which a transmission driver is connected to a multidrop serial bus by wire logic, an abnormality of a transmission data signal given to the transmission driver for a certain time or more continuously becomes an active level time monitoring circuit means. In addition, the gate circuit means is provided so as to fix the input of the transmission driver to the immovable level when the detection signal of this circuit means is generated. The system down state fixed to the active level can be avoided.

C、従来の技術 マルチドロツプ・シリアルバスによる一般的な伝送シス
テムでは、多数の伝送ユニツトの各送信ドライバをバス
にワイヤードロジツク接続し、各伝送システムにおい
て、非送信時には送信ドライバの送信データ入力を不動
レベルに固定し、送信時に能動レベルと不動レベルの2
値変化による送信データを送信ドライバに入力する構成
となつている。
C. Prior art In a general transmission system using a multi-drop serial bus, each transmission driver of a large number of transmission units is wire-logic connected to the bus, and in each transmission system, the transmission data input of the transmission driver is fixed when not transmitting. It is fixed at the level, and 2 levels of active level and immovable level at the time of transmission
The configuration is such that the transmission data due to the value change is input to the transmission driver.

この伝送システムにおいては、ある伝送ユニツトが能動
レベルの信号を出力すれば(オープンコレクタ型の送信
ドライバの場合はLレベルの出力となる)、シリアルバ
ス全体が能動レベルになる。したがつて、ある伝送ユニ
ツトの送信系に障害が発生し、その伝送ユニツトが能動
レベル信号を出力し続けた場合、バスも能動レベルに固
定されてしまうため、障害を発生した伝送ユニツトだけ
でなくシステム全体にその障害の影響が波及し、どのユ
ニツト間でもデータ伝送を行なうことができなくなる。
つまりシステムダウンとなる。
In this transmission system, when a certain transmission unit outputs an active level signal (in the case of an open collector type transmission driver, it outputs L level), the entire serial bus becomes active level. Therefore, if a failure occurs in the transmission system of a certain transmission unit and that transmission unit continues to output the active level signal, the bus will be fixed to the active level, so not only the faulty transmission unit The influence of the failure spreads to the entire system, and data cannot be transmitted between any units.
In other words, the system goes down.

このシステムダウンを回避するため、従来では、各伝送
ユニツトにて伝送制御やデータ処理を統括しているCPU
(中央処理装置)に異常診断プログラムを実行させ、バ
スが能動レベルに固定されるような障害を検出し、その
障害が自らの伝送ユニツトで発生した場合には、当該ユ
ニツトの送信系をバスから切り離す制御を行なつてい
る。こうすれば、健全なユニツト間ではバスを使つた伝
送が可能になる。
In order to avoid this system down, the CPU that controls transmission and data processing in each transmission unit has been used in the past.
(Central processing unit) executes an abnormality diagnosis program, detects a fault such that the bus is fixed at an active level, and when the fault occurs in its own transmission unit, the transmission system of the unit is removed from the bus. It controls to disconnect. In this way, transmission using a bus is possible between sound units.

D、発明が解決しようとする問題点 上述のようにCPUによる高度な異常診断は、CPUを備えた
いわゆるインテリジエント・ターミナルにおいては比較
的容易に実施できる。しかし、近年ではこの種のマルチ
ドロツプ・シリアルバス方式の伝送システムが様々な装
置で幅広く応用されつつあり、単純なセンサやアクチエ
ータ駆動回路などが1つの伝送ユニツトを構成する実施
例も見られるようになつてきた。この種の単純な機能ユ
ニツトでは高度なCPUは搭載されず、したがつてインテ
リジエント・ターミナルに見られるようなバスの異常診
断は行なえない。単純な構成の伝送ユニツト(機能ユニ
ツト)といえども、自局の障害でバスシステム全体を使
用不能にしてしまうことがないように、何らかの対策が
必要である。
D, Problems to be Solved by the Invention As described above, the high-level abnormality diagnosis by the CPU can be relatively easily performed in the so-called intelligent terminal equipped with the CPU. However, in recent years, a multidrop serial bus type transmission system of this kind has been widely applied to various devices, and an example in which a simple sensor or an actuator driving circuit constitutes one transmission unit has come to be seen. Came. This kind of simple function unit does not have a sophisticated CPU, and therefore cannot diagnose the bus abnormality as seen in the intelligent terminal. Even if the transmission unit (functional unit) has a simple structure, some measures are necessary so that the failure of the own station does not render the entire bus system unusable.

この発明は上述した従来の問題点に鑑みなされたもの
で、その目的は、1つの伝送ユニツトとなる単純な構成
の機能ユニツトに適した極めて簡単な構成で、自局の障
害がバスシステム全体に波及するのを防止できるように
したマルチドロツプ・シリアルバス用伝送ユニツトの異
常監視回路を提供することにある。
The present invention has been made in view of the above-mentioned conventional problems, and an object thereof is an extremely simple structure suitable for a functional unit having a simple structure that serves as one transmission unit, and a failure of its own station may occur in the entire bus system. It is an object of the present invention to provide an abnormality monitoring circuit for a transmission unit for a multidrop serial bus, which can prevent the transmission.

E、問題点を解決するための手段 この発明に係る異常監視回路は、マルチドロツプ・シリ
アルバスに送信ドライバをワイヤードロジツク接続し、
非送信時には上記送信ドライバの送信データ入力を不動
レベルに固定し、送信時に能動レベルと不動レベルの2
値変化による送信データを上記送信ドライバに入力する
伝送ユニツトにおいて、上記送信データ信号を入力と
し、この信号が一定時間以上継続して能動レベルになつ
たとき出力信号を発する時間監視回路手段と、この回路
手段の出力信号を受けて上記送信ドライバの入力を不動
レベルに固定するゲート回路手段とを備えたものであ
る。
E, Means for Solving the Problems The abnormality monitoring circuit according to the present invention connects the transmission driver to the multidrop serial bus by wire logic,
At the time of non-transmission, the transmission data input of the transmission driver is fixed to the immobile level, and at the time of transmission, the active level and the immobility level are 2
In a transmission unit for inputting transmission data due to a change in value to the transmission driver, the transmission data signal is input, and time monitoring circuit means for issuing an output signal when this signal continuously reaches an active level for a certain period of time, Gate circuit means for receiving the output signal of the circuit means and fixing the input of the transmission driver at a fixed level.

F、作 用 何らかの異常で送信データ信号が能動レベルに固定され
ると、一定時間後にはこの異常が上記時間監視回路手段
によつて検出され、上記ゲート回路手段によつて送信ド
ライバの入力が不動レベルに固定される。その結果、送
信ドライバの出力も不動レベルとなつてバスを解放し、
時局から送信は行なえないが、他局間では正常にデータ
伝送を行なえる。
F, Operation When the transmission data signal is fixed to the active level due to some abnormality, this abnormality is detected by the time monitoring circuit means after a fixed time, and the input of the transmission driver is immobile by the gate circuit means. Fixed to the level. As a result, the output of the transmission driver also becomes a fixed level and releases the bus,
Although data cannot be transmitted from the time station, data can be transmitted normally between other stations.

G、実施例 第1図はこの発明による異常監視回路の一実施例を示し
ている。図において、10はデータ伝送路となるマルチド
ロツプのシリアルバスで、プルアツプ抵抗12を介して電
源に接続されている。14はオープンコレクタ型インバー
タからなる伝送ドライバで、その出力がバス10に接続さ
れている。多数の伝送ユニツトにおける伝送ドライバも
同様なオープンコレクタ素子で、それらの出力がバス10
にワイヤードロジツク接続されている。
G, Embodiment FIG. 1 shows an embodiment of the abnormality monitoring circuit according to the present invention. In the figure, 10 is a multi-drop serial bus that serves as a data transmission line, and is connected to a power source through a pull-up resistor 12. Reference numeral 14 is a transmission driver composed of an open collector type inverter, the output of which is connected to the bus 10. The transmission drivers in many transmission units are similar open collector elements whose outputs are bus 10
Is connected to the wire logic.

図示しないデータ発生系から与えられる送信データSDは
NORゲート16を介して送信ドライバ14に入力される。ま
た送信データSDは再トリガ可能単安定マルチバイブレー
タ(以下モノマルチと称す)18にも入力され、このモノ
マルチ18の出力がNORゲート16のもう一方の入力とな
る。
The transmission data SD given from the data generation system (not shown)
It is input to the transmission driver 14 via the NOR gate 16. The transmission data SD is also input to a retriggerable monostable multivibrator (hereinafter referred to as monomulti) 18, and the output of the monomulti 18 becomes the other input of the NOR gate 16.

モノマルチ18は前述の時間監視回路手段に相当し、NOR
ゲート16は前述のゲート回路手段に相当する。
The mono-multi 18 corresponds to the time monitoring circuit means described above, and NOR
The gate 16 corresponds to the gate circuit means described above.

第2図の波形図に示すように、モノマルチ18は送信デー
タSDのHレベル(不動レベル)からLレベル(能動レベ
ル)への立下り点でトリガされ、出力はHレベルから
Lレベルになる。モノマルチ18は再トリガ可能で、トリ
ガされてから一定時間TIを経ても次のトリガ信号がない
と、出力はLレベルからHレベルに復帰する。
As shown in the waveform diagram of FIG. 2, the monomulti 18 is triggered at the falling point of the transmission data SD from the H level (immobility level) to the L level (active level), and the output changes from the H level to the L level. . The mono-multi 18 can be re-triggered, and the output returns from the L level to the H level if there is no next trigger signal even after a certain time TI has elapsed after being triggered.

モノマルチ18の出力がLレベルになつていると、NOR
ゲート16は送信データSDに対して“ゲート開”の状態に
なり、送信データSDはNORゲート16,送信ドライバ14を経
てバス10に出力される。この送信状態を第2図に示して
いる。
When the output of Mono Multi 18 is at L level, NOR
The gate 16 is in a “gate open” state with respect to the transmission data SD, and the transmission data SD is output to the bus 10 via the NOR gate 16 and the transmission driver 14. This transmission state is shown in FIG.

第3図に示すように、何らかの異常によつて送信データ
SDがLレベルになつたままになると、モノマルチ18の出
力が一定時間TI後にLレベルからHレベルになる。出
力がHレベルになると、送信データSDに関係なくNOR
ゲート16の出力(つまり送信ドライバ14の入力)がLレ
ベル(この点では不動レベルである)になり、送信ドラ
イバ14の出力(バス出力)はHレベルとなり、この送信
ドライバ14はバス10の状態に関与しなくなる。
As shown in FIG. 3, the transmission data is
When SD remains L level, the output of the monomulti 18 goes from L level to H level after a certain time TI. When the output goes to H level, it becomes NOR regardless of the transmission data SD.
The output of the gate 16 (that is, the input of the transmission driver 14) becomes the L level (which is the immovable level at this point), the output of the transmission driver 14 (the bus output) becomes the H level, and this transmission driver 14 is in the state of the bus 10. No longer be involved in.

H、発明の効果 以上詳細に説明したように、この発明に係る異常監視回
路は、例えばモノマルチとNORゲートといつた極く僅か
な回路素子による極めて簡単な回路で容易に実施でき、
送信系の障害がバスシステム全体に波及するのを確実に
防止することができる。したがつてCPUを搭載していな
い単純な機能の伝送ユニツトには好適な回路となる。
H, Effect of the Invention As described in detail above, the abnormality monitoring circuit according to the present invention can be easily implemented by an extremely simple circuit including, for example, mono-multi, NOR gate, and extremely few circuit elements.
It is possible to reliably prevent a failure in the transmission system from spreading to the entire bus system. Therefore, the circuit is suitable for a simple function transmission unit without a CPU.

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

第1図はこの発明の一実施例による異常監視回路の構成
図、第2図は同一回路の正常な送信動作時の波形図、第
3図は同じく障害発生時の波形図である。 10……バス、14……送信ドライバ、16……NORゲート、1
8……再トリガ可能単安定マルチバイブレータ。
FIG. 1 is a configuration diagram of an abnormality monitoring circuit according to an embodiment of the present invention, FIG. 2 is a waveform diagram during normal transmission operation of the same circuit, and FIG. 3 is a waveform diagram when a failure similarly occurs. 10 …… bus, 14 …… send driver, 16 …… NOR gate, 1
8 …… A retriggerable monostable multivibrator.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】マルチドロップ・シリアルバスに送信ドラ
イバをワイヤードロジック接続し、非送信時には上記送
信ドライバの送信データ入力を下動レベルに固定し、送
信時に能動レベルと下動レベル2値変化による送信デー
タを上記送信ドライバに入力する伝送ユニットにおい
て、上記送信データ信号を入力とし、この信号が一定時
間以上継続して能動レベルになったとき出力信号を発す
る時間監視回路手段と、この回路手段の出力信号を受け
て上記送信ドライバの入力を下動レベルに固定するゲー
ト回路手段とを備え、上記時間監視回路手段は、上記送
信データ信号の能動レベルの変化点でトリガされる再ト
リガ可能な単安定マルチバイブレータであることを特徴
とするマルチドロップ・シリアルバス用伝送ユニットの
異常監視回路。
1. A transmission driver is connected to a multi-drop serial bus by wired logic, the transmission data input of the transmission driver is fixed to a down level when not transmitting, and transmission is performed by changing an active level and a down level binary value during transmission. A transmission unit for inputting data to the transmission driver receives the transmission data signal as an input, and outputs an output signal when the signal continuously goes to an active level for a certain period of time, and an output of the circuit unit. A gate circuit means for receiving a signal and fixing the input of the transmission driver to a lower level, the time monitoring circuit means being retriggerable monostable triggered at a change point of the active level of the transmission data signal. An abnormality monitoring circuit for a multi-drop serial bus transmission unit characterized by being a multi-vibrator.
JP60023114A 1985-02-08 1985-02-08 Abnormality monitoring circuit for multi-drop serial bus transmission unit Expired - Fee Related JPH0679298B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60023114A JPH0679298B2 (en) 1985-02-08 1985-02-08 Abnormality monitoring circuit for multi-drop serial bus transmission unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60023114A JPH0679298B2 (en) 1985-02-08 1985-02-08 Abnormality monitoring circuit for multi-drop serial bus transmission unit

Publications (2)

Publication Number Publication Date
JPS61183761A JPS61183761A (en) 1986-08-16
JPH0679298B2 true JPH0679298B2 (en) 1994-10-05

Family

ID=12101455

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60023114A Expired - Fee Related JPH0679298B2 (en) 1985-02-08 1985-02-08 Abnormality monitoring circuit for multi-drop serial bus transmission unit

Country Status (1)

Country Link
JP (1) JPH0679298B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS53109448A (en) * 1977-03-07 1978-09-25 Hitachi Ltd Information processor
JPS5422440U (en) * 1977-07-14 1979-02-14
JPS58225450A (en) * 1982-06-23 1983-12-27 Nec Corp Fault detector

Also Published As

Publication number Publication date
JPS61183761A (en) 1986-08-16

Similar Documents

Publication Publication Date Title
JPH0679298B2 (en) Abnormality monitoring circuit for multi-drop serial bus transmission unit
JPH0426914Y2 (en)
JPH0625976B2 (en) Abnormality monitoring circuit for transmission unit for multidrop serial bus
JPH0726762Y2 (en) Bus mismatch circuit
JP2774595B2 (en) Operation monitoring device for CPU system
JPS6236270B2 (en)
JP2558728B2 (en) Abnormal interrupt processing device
JPS6213153Y2 (en)
JP2692576B2 (en) Multiple clock pulse monitor
JP2749994B2 (en) Numerical control unit
JP2725680B2 (en) Bus error detection circuit
JP2818437B2 (en) Fault detection circuit
JPS6128146B2 (en)
JPH0792878B2 (en) Encoder error transmission method
JPS5848149A (en) Fault detection system of multiprocessing system
JPS6124732B2 (en)
JPS58119024A (en) Bus diagnosing device
JPH03276204A (en) Input system for monitoring state signal
JPS6083120A (en) Digital input circuit
JPH04205162A (en) Multiprocessor system
JPH04293133A (en) Fault monitoring system in loosely coupled multi-processor system
JPH05324407A (en) Cpu monitor system
JPH03126149A (en) Bus system diagnostic system
JPS58211268A (en) Multi-processor system
JPS60189037A (en) Special unit of programmable controller

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees