JP3304682B2 - Communication device with reset function - Google Patents

Communication device with reset function

Info

Publication number
JP3304682B2
JP3304682B2 JP10549795A JP10549795A JP3304682B2 JP 3304682 B2 JP3304682 B2 JP 3304682B2 JP 10549795 A JP10549795 A JP 10549795A JP 10549795 A JP10549795 A JP 10549795A JP 3304682 B2 JP3304682 B2 JP 3304682B2
Authority
JP
Japan
Prior art keywords
capacitor
control resistor
microcomputer
communication
charge control
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
JP10549795A
Other languages
Japanese (ja)
Other versions
JPH08308008A (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.)
Panasonic Corp
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
Matsushita Electric Industrial 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 Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Priority to JP10549795A priority Critical patent/JP3304682B2/en
Publication of JPH08308008A publication Critical patent/JPH08308008A/en
Application granted granted Critical
Publication of JP3304682B2 publication Critical patent/JP3304682B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T90/00Enabling technologies or technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02T90/10Technologies relating to charging of electric vehicles
    • Y02T90/16Information or communication technologies improving the operation of electric vehicles

Landscapes

  • Electric Propulsion And Braking For Vehicles (AREA)
  • Small-Scale Networks (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、電気自動車のバッテリ
監視システムに適したリセット機能付き通信装置に関す
るものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a communication device with a reset function suitable for a battery monitoring system of an electric vehicle.

【0002】[0002]

【従来の技術】近年、実用的な電気自動車の開発が急ピ
ッチで進んでおり、電気自動車のバッテリ監視システム
に関してもよりシンプルな構造で高精度なものが求めら
れている。通常、電気自動車のバッテリシステムとして
は24個のバッテリが直列接続されており、直列接続さ
れた各バッテリの情報を通信により電気自動車のメイン
コンピュータに送信するため、各バッテリ間に通信路を
設ける。各バッテリの電位が異なるため、通信路の通信
線と各バッテリの電位とは絶縁する必要がある。この場
合、通信路を構成する通信線の数は可能なかぎり少なく
することが望ましい。従来の技術として制御線を用いな
い4線式及び2線式の通信システムが考えられる。
2. Description of the Related Art In recent years, the development of practical electric vehicles has been progressing at a rapid pace, and a battery monitoring system for an electric vehicle has been required to have a simpler structure and higher accuracy. Normally, 24 batteries are connected in series in a battery system of an electric vehicle, and a communication path is provided between the batteries in order to transmit information of each battery connected in series to a main computer of the electric vehicle by communication. Since the potential of each battery is different, it is necessary to insulate the communication line of the communication path from the potential of each battery. In this case, it is desirable to reduce the number of communication lines constituting the communication path as much as possible. As conventional techniques, 4-wire and 2-wire communication systems that do not use control lines are conceivable.

【0003】以下に、従来の通信装置について図を参照
しながら説明する。図7は、従来の通信装置である。1
はマイコンであり通信を制御する機能をもつ。2は送信
用素子でありマイコン1のデータ出力端子に接続され、
また外部と通信するための通信路と接続される。3は受
信用素子でありマイコン1のデータ入力端子に接続さ
れ、また外部と通信するための通信路と接続される。
Hereinafter, a conventional communication device will be described with reference to the drawings. FIG. 7 shows a conventional communication device. 1
Is a microcomputer having a function of controlling communication. 2 is a transmitting element connected to the data output terminal of the microcomputer 1,
Also, it is connected to a communication path for communicating with the outside. A receiving element 3 is connected to the data input terminal of the microcomputer 1 and is connected to a communication path for communicating with the outside.

【0004】以上のように構成された通信装置につい
て、以下にその動作について説明する。データを送信す
る場合、マイコン1がデータ出力端子より、送信するデ
ータを出力する。送信用素子2は、通信路の信号レベル
になるようにマイコン1からのデータをレベル変換して
データを通信路に出力する。以下の説明において、通信
は通信路を低レベルにすることにより行うものとする
(アクティブ・ロー)。つまり、データが存在しないと
きは、通信路は高レベルであるとする。
[0004] The operation of the communication device configured as described above will be described below. When transmitting data, the microcomputer 1 outputs data to be transmitted from a data output terminal. The transmitting element 2 converts the level of the data from the microcomputer 1 so that the signal level becomes the signal level of the communication path, and outputs the data to the communication path. In the following description, communication is performed by setting the communication path to a low level (active low). That is, when there is no data, the communication path is at a high level.

【0005】データを受信する場合、受信用素子3が通
信路のデータをマイコン1の信号レベルに変換して、マ
イコン1はデータ入力端子よりこの値を読み込む。
When receiving data, the receiving element 3 converts the data of the communication channel into the signal level of the microcomputer 1, and the microcomputer 1 reads this value from the data input terminal.

【0006】図6は2線式通信システムである。2線式
通信システムの場合、送信用素子2及び受信用素子3は
同一の通信路に接続されるため、ある時刻において、い
ずれか一つの通信装置のみが送信可能であり、その他は
すべて受信状態でなければならない。そのため通常、通
信装置の一つを通信を制御する特別なものとし他の通信
装置は、その制御に従うものとする。この特別な通信装
置をマスタ通信装置、他をスレーブ通信装置と呼ぶこと
にする。しかし、何かの異常で二つ以上の通信装置が同
時にデータを送信した場合、通信路上のデータは誤った
ものとなり、その状態から正常な状態に戻すことは困難
な場合がある。最悪の場合、ある通信装置が異常とな
り、低レベル信号を出力し続け、データがないときは高
レベルであるべき通信路が低レベルに固定されてしまっ
た場合、すべての通信が不可能となり、この通信システ
ムを正常に復帰させることは非常に困難である。
FIG. 6 shows a two-wire communication system. In the case of a two-wire communication system, since the transmitting element 2 and the receiving element 3 are connected to the same communication path, at a certain time, only one of the communication devices can transmit, and all others are in the receiving state. Must. Therefore, normally, one of the communication devices is special for controlling communication, and the other communication device follows the control. This special communication device is called a master communication device, and the others are called slave communication devices. However, if two or more communication devices transmit data at the same time due to some abnormality, the data on the communication path becomes erroneous, and it may be difficult to return from that state to a normal state. In the worst case, if a certain communication device becomes abnormal and keeps outputting a low-level signal, and if there is no data, the communication path that should be at a high level is fixed at a low level, all communication becomes impossible, It is very difficult to restore this communication system to normal.

【0007】4線式通信システムでは、送信用通信路と
受信用通信路を別に設けるため、一方の通信路に異常な
信号を検知した場合、他方の通信路を用いて復帰を試み
ることができ、2線式通信システムと比較した場合、通
信異常からの復帰が容易である。しかし、4線式通信シ
ステムにおいても通信路が低レベルに固定され復帰でき
なくなることも考えられる。また、制御線を用いる4線
式以上の通信システムにおいてもデータ通信線が低レベ
ルに固定され、復帰が困難となることも考えられ、いず
れの場合も通信路が異常な状態になった場合、リセット
などにより異常な通信装置の復帰を試みることが可能で
あることが望ましい。
In a four-wire communication system, a transmission channel and a reception channel are provided separately, so that when an abnormal signal is detected in one of the communication channels, it is possible to try to recover using the other communication channel. As compared with a two-wire communication system, it is easier to recover from a communication error. However, even in a four-wire communication system, the communication path may be fixed at a low level and cannot be restored. Also, in a four-wire or more communication system using a control line, the data communication line may be fixed at a low level, making recovery difficult, and in any case, when the communication path becomes abnormal, It is desirable to be able to try to recover an abnormal communication device by resetting or the like.

【0008】[0008]

【発明が解決しようとする課題】バッテリ監視システム
としてはハードウェアコストの面から2線式通信システ
ムが望ましいが、上述したように異常時の通信路の復帰
が困難であるという課題を有していた。
As a battery monitoring system, a two-wire communication system is desirable in terms of hardware cost, but has the problem that it is difficult to recover the communication path when an abnormality occurs, as described above. Was.

【0009】本発明は、上記従来の課題を解決するもの
で、2線式通信システムを構成する場合においても4線
式以上の通信システムを構成する場合においても異常時
通信路の復帰を容易にするリセット機能付き通信装置
を提供することを目的とする。
The present invention solves the above-mentioned conventional problems, and makes it easy to restore a communication path in the event of an abnormality in both a two-wire communication system and a four-wire or more communication system. It is an object of the present invention to provide a communication device with a reset function.

【0010】[0010]

【課題を解決するための手段】上記従来の課題を解決す
るために本発明のリセット機能付き通信装置は、マイコ
ンのデータ出力端子に接続された送信用素子および前記
マイコンのデータ入力端子に接続された受信用素子を備
えた通信装置であって、前記送信用素子の出力側または
受信用素子の出力側のいずれか一方に接続された充電制
御用抵抗と、この充電制御用抵抗に接続されたコンデン
サと、このコンデンサと並列に接続された放電制御用抵
抗とを有し、前記コンデンサと放電制御用抵抗のそれぞ
れの一端が前記充電制御用抵抗に接続されるとともに前
記マイコンのリセット端子にもつながれ、前記コンデン
サと放電制御用抵抗のそれぞれの他端が接地され、前記
充電制御用抵抗と前記コンデンサにより決まる第1の時
定数が前記放電制御用抵抗 と前記コンデンサにより決ま
る第2の時定数より小さくなるように予め定められてお
り、前記送信用素子の出力側が前記充電制御用抵抗に接
続されるとともに前記送信用素子の出力側から通信路に
向かって低レベルの出力が続いた場合、または、前記受
信用素子の出力側が前記充電制御用抵抗に接続されると
ともに前記通信路から前記受信用素子の入力側に向かっ
て低レベルの出力が一定時間続いた場合は、前記コンデ
ンサの両端電圧が前記マイコンのリセット電圧以下にな
り、前記マイコンのリセット端子がアクティブになるよ
うに構成されたことを特徴とするものである。
SUMMARY OF THE INVENTION In order to solve the above-mentioned conventional problems, a communication device with a reset function according to the present invention comprises a microcomputer.
A transmitting element connected to the data output terminal of the
Equipped with a receiving element connected to the data input terminal of the microcomputer.
The communication device, wherein the output side of the transmitting element or
Charge control connected to one of the output sides of the receiving element
Control resistor and the capacitor connected to this charge control resistor.
And a discharge control resistor connected in parallel with this capacitor.
Each of the capacitor and the discharge control resistor
One end is connected to the charge control resistor and
Connected to the reset terminal of the microcomputer,
And the other end of each of the discharge control resistors is grounded,
First time determined by charge control resistor and capacitor
The constant is determined by the discharge control resistor and the capacitor.
Predetermined so as to be smaller than the second time constant
The output side of the transmitting element is connected to the charging control resistor.
To the communication path from the output side of the transmitting element.
If low level output continues toward
When the output side of the credit element is connected to the charge control resistor
Both from the communication path to the input side of the receiving element
If the low level output continues for a certain period of time,
The voltage across the sensor is below the reset voltage of the microcomputer.
The reset terminal of the microcomputer becomes active.
It is characterized by having been constituted as follows.

【0011】[0011]

【作用】この構成によって、送信用素子の出力側から通
信路に向かって低レベルの出力が続いた場合、または、
通信路から受信用素子の入力側に向かって低レベルの出
力が一定時間続いた場合に、コンデンサの両端電圧がマ
イコンのリセット電圧以下になり、マイコンがリセット
され、異常時の通信路の復帰を容易にすることができ
る。
According to this configuration, communication can be performed from the output side of the transmitting element.
If low level output continues toward the channel, or
Low-level output from the communication path to the input side of the receiving element
If the force continues for a certain period of time, the voltage across the capacitor will
The microcomputer is reset when the voltage falls below the reset voltage of the icon
Thus, it is possible to easily restore the communication path at the time of abnormality .

【0012】[0012]

【実施例】(実施例1) 以下に本発明の一実施例について、図を参照しながら説
明する。
Embodiment (Embodiment 1) An embodiment of the present invention will be described below with reference to the drawings.

【0013】図1において、1はマイコンであり通信を
制御する機能をもつ。2は送信用素子であり、マイコン
1のデータ出力端子に接続され、また外部と通信するた
めの通信路と接続される。3は受信用素子であり、マイ
コン1のデータ入力端子に接続され、また外部と通信す
るための通信路と接続される。4は暴走保護回路であ
り、送信用素子2に接続され、その出力はマイコン1の
リセット端子に接続される。
In FIG. 1, reference numeral 1 denotes a microcomputer having a function of controlling communication. Reference numeral 2 denotes a transmitting element, which is connected to a data output terminal of the microcomputer 1 and to a communication path for communicating with the outside. A receiving element 3 is connected to a data input terminal of the microcomputer 1 and is connected to a communication path for communicating with the outside. Reference numeral 4 denotes a runaway protection circuit, which is connected to the transmitting element 2 and whose output is connected to the reset terminal of the microcomputer 1.

【0014】図2は前述した暴走保護回路である。41
は充電制御用抵抗であり、ダイオード46を通して送信
用素子2に接続される。42はコンデンサであり、充電
制御用抵抗及び接地間に接続される。43は放電制御用
抵抗であり、前記コンデンサ42に並列に接続される。
44は電流制限抵抗であり、前記コンデンサ42に接続
される。45はツェナーダイオードであり、前記電流制
限抵抗44及び設置間に接続される。47はダイオード
であり、暴走保護回路4の出力とマイコン1のリセット
端子間に接続される。
FIG. 2 shows the runaway protection circuit described above. 41
Is a charge control resistor, which is connected to the transmitting element 2 through the diode 46. A capacitor 42 is connected between the charge control resistor and the ground. A discharge control resistor 43 is connected in parallel to the capacitor 42.
A current limiting resistor 44 is connected to the capacitor 42. 45 is a Zener diode, which is connected between the current limiting resistor 44 and the installation. A diode 47 is connected between the output of the runaway protection circuit 4 and the reset terminal of the microcomputer 1.

【0015】以上のように構成されたリセット機能付き
通信装置について、図3を用いてその動作を説明する。
正常なデータ通信は従来の通信装置と同様に行われる。
通信路が低レベルに固定された場合、その低レベル出力
を出力している通信装置は次のように自己リセットす
る。
The operation of the communication device with a reset function configured as described above will be described with reference to FIG.
Normal data communication is performed in the same manner as a conventional communication device.
When the communication path is fixed at the low level, the communication device outputting the low level output resets itself as follows.

【0016】正常な通信信号の場合、少なくとも一つの
データ単位について1ビットの高レベル信号(ストップ
ビット)が存在する。ストップビットによって、前記充
電制御用抵抗41を通して前記コンデンサ42には、マ
イコン1のリセット端子をオフしない十分な電荷が充電
される。前記コンデンサ42の電圧は前記電流制限抵抗
44を通して前記ツェナーダイオード45によってマイ
コン1のリセット端子電圧入力範囲に制限されたのち、
マイコン1のリセット端子に入力される。ダイオード4
7は、マイコン1の本来のリセット回路から分離するた
めに挿入される。ストップビット以外にも高レベルのビ
ットがある場合にはそのビットによっても充電される。
通信路が低レベルになると、前記コンデンサ42の電荷
は前記放電制御用抵抗43を通して放電するが、通信線
が00・・・0の信号を送る場合でも前記コンデンサ4
2はマイコン1のリセット端子をオフしない十分な電圧
を維持するように前記充電制御用抵抗41、放電制御用
抵抗43及びコンデンサ42の各定数を決定する。送信
用素子が異常により低レベル出力を出し続けた場合は、
前記コンデンサ42に充電された電荷が前記放電制御用
抵抗43を通して放電する。前記コンデンサ42の両端
の電圧がマイコン1のリセット電圧以下になると、マイ
コン1がリセットされる。また、マイコン1が動作不能
となった場合には、マイコン1のデータ出力端子は一般
にオフになるので、このときリセット機能付き通信装置
は通信路から切り離され、他のリセット機能付き通信装
置の通信に影響を与えない。
In the case of a normal communication signal, a one-bit high-level signal (stop bit) exists for at least one data unit. The stop bit charges the capacitor 42 through the charge control resistor 41 with a sufficient charge that does not turn off the reset terminal of the microcomputer 1. After the voltage of the capacitor 42 is limited to the reset terminal voltage input range of the microcomputer 1 by the Zener diode 45 through the current limiting resistor 44,
It is input to the reset terminal of the microcomputer 1. Diode 4
7 is inserted to separate the reset circuit from the original reset circuit of the microcomputer 1. If there is a high-level bit other than the stop bit, the bit is also charged by that bit.
When the communication path becomes low level, the electric charge of the capacitor 42 is discharged through the discharge control resistor 43. However, even when the communication line sends a signal of 00.
Reference numeral 2 determines constants of the charge control resistor 41, the discharge control resistor 43, and the capacitor 42 so as to maintain a sufficient voltage that does not turn off the reset terminal of the microcomputer 1. If the transmitting element continues to output low level due to abnormality,
The electric charge charged in the capacitor 42 is discharged through the discharge control resistor 43. When the voltage across the capacitor 42 falls below the reset voltage of the microcomputer 1, the microcomputer 1 is reset. When the microcomputer 1 becomes inoperable, the data output terminal of the microcomputer 1 is generally turned off. At this time, the communication device with the reset function is disconnected from the communication path, and the communication device of the other communication device with the reset function communicates. Does not affect

【0017】図6の2線式通信システムを、本発明の実
施例1に示すリセット機能付き通信装置を用いて構成し
た場合、正常なデータ通信は従来の通信装置を用いて構
成した場合と同様の動作が行える。そして、通信路が低
レベルに固定される状態になった場合、低レベルを出力
しているリセット機能付き通信装置は自動的にリセット
されるため、通信路もリセットされ、通常のデータ通信
を再開することが可能である。
When the two-wire communication system of FIG. 6 is configured using the communication device with the reset function shown in the first embodiment of the present invention, normal data communication is performed in the same manner as when the conventional communication device is used. Operation can be performed. When the communication path is fixed at the low level, the communication apparatus with the reset function that outputs the low level is automatically reset, so that the communication path is also reset and normal data communication is resumed. It is possible to

【0018】(実施例2) 図4は本発明の第2の実施例を示す。図4において、1
はマイコンであり、通信データを制御する機能をもつ。
2は送信用素子であり、マイコン1のデータ出力端子に
接続され、また外部と通信するための通信路と接続され
る。3は受信用素子であり、マイコン1のデータ入力端
子に接続され、また外部と通信するための通信路と接続
される。4’は暴走保護回路であり、受信用素子3に接
続され、その出力はマイコン1のリセット端子に接続さ
れる。暴走保護回路4’は図2に示す暴走保護回路4と
同様の構成を有し、ダイオード46が送信用素子2の代
わりに受信用素子3に接続されている。
Embodiment 2 FIG. 4 shows a second embodiment of the present invention. In FIG. 4, 1
Is a microcomputer having a function of controlling communication data.
Reference numeral 2 denotes a transmitting element, which is connected to a data output terminal of the microcomputer 1 and to a communication path for communicating with the outside. A receiving element 3 is connected to a data input terminal of the microcomputer 1 and is connected to a communication path for communicating with the outside. A runaway protection circuit 4 'is connected to the receiving element 3 and its output is connected to the reset terminal of the microcomputer 1. Runaway protection circuit 4 ′ has the same configuration as runaway protection circuit 4 shown in FIG. 2, and diode 46 is connected to reception element 3 instead of transmission element 2.

【0019】以上のように構成されたリセット機能付き
通信装置について、その動作を説明する。正常なデータ
通信は従来の通信装置と同様に行われる。外部要因によ
り通信路が低レベルに固定された場合、暴走保護回路
4’が実施例1で示したのと同様にマイコン1をリセッ
トする。
The operation of the communication device having the reset function configured as described above will be described. Normal data communication is performed in the same manner as a conventional communication device. When the communication path is fixed at a low level due to an external factor, the runaway protection circuit 4 'resets the microcomputer 1 in the same manner as described in the first embodiment.

【0020】図6の2線式通信システムを、本発明の実
施例2に示すリセット機能付き通信装置を用いて構成し
た場合は、マスタ通信装置のみは、従来のリセット機能
をもたない通信装置を用いる。
In the case where the two-wire communication system of FIG. 6 is configured using the communication device with the reset function shown in the second embodiment of the present invention, only the master communication device has the conventional communication device without the reset function. Is used.

【0021】このシステムの動作として、正常なデータ
通信は従来の通信装置を用いて構成した場合と同様の動
作が行える。通信の制御を行うマスタ通信装置がデータ
通信中に異常を検知した場合、次のようにして、すべて
のスレーブユニットをリセットすることができる。
As an operation of this system, normal data communication can perform the same operation as the case where it is configured using a conventional communication device. If the master communication device that controls communication detects an abnormality during data communication, all slave units can be reset as follows.

【0022】マスタ通信装置は、送信用素子2より低レ
ベルを出力し、ある一定時間通信路を低レベルに固定す
る。これにより、スレーブ通信装置の受信用素子3は異
常な低レベル信号を受信し、暴走保護回路4’がマイコ
ン1をリセットし、すべてのスレーブ通信装置はリセッ
トされる。マスタ通信装置は。通信路を高レベルに戻し
て通信を再開する。
The master communication device outputs a low level from the transmitting element 2 and fixes the communication path at the low level for a certain period of time. As a result, the receiving element 3 of the slave communication device receives the abnormal low-level signal, the runaway protection circuit 4 'resets the microcomputer 1, and all the slave communication devices are reset. Master communication device. Return the communication path to high level and resume communication.

【0023】(実施例3) 図5は本発明の第3の実施例を示す。図5において、1
はマイコンであり、通信を制御する機能をもつ。2は送
信用素子であり、マイコン1のデータ出力端子に接続さ
れ、また外部と通信するための通信路と接続される。3
は受信用素子であり、マイコン1のデータ入力端子に接
続され、また外部と通信するための通信路と接続され
る。4は暴走保護回路であり、送信用素子2に接続さ
れ、その出力はマイコン1のリセット端子に接続され
る。4’は暴走保護回路であり、受信用素子3に接続さ
れ、その出力はマイコン1のリセット端子に接続され
る。5はオアゲートであり、前記暴走保護回路4,4’
の出力のいずれかをマイコン1のリセット端子に入力す
る。
(Embodiment 3) FIG. 5 shows a third embodiment of the present invention. In FIG. 5, 1
Is a microcomputer, which has a function of controlling communication. Reference numeral 2 denotes a transmitting element, which is connected to a data output terminal of the microcomputer 1 and to a communication path for communicating with the outside. 3
Is a receiving element, which is connected to the data input terminal of the microcomputer 1 and to a communication path for communicating with the outside. Reference numeral 4 denotes a runaway protection circuit, which is connected to the transmitting element 2 and whose output is connected to the reset terminal of the microcomputer 1. A runaway protection circuit 4 'is connected to the receiving element 3 and its output is connected to the reset terminal of the microcomputer 1. Reference numeral 5 denotes an OR gate, and the runaway protection circuits 4, 4 '
Is input to the reset terminal of the microcomputer 1.

【0024】以上のように構成されたリセット機能付き
通信装置について、その動作を説明する。正常なデータ
通信は従来の通信装置と同様に行われる。送信用素子を
通して通信路に低レベルを出力し続けた場合、上記実施
例1に示したものと同様の動作で、また、外部要因によ
り通信路が低レベルに固定された場合には、上記実施例
2に示したものと同様の動作でマイコン1をリセットす
る。
The operation of the communication device with a reset function configured as described above will be described. Normal data communication is performed in the same manner as a conventional communication device. When the low level is continuously output to the communication path through the transmitting element, the same operation as that described in the first embodiment is performed. When the communication path is fixed to the low level due to an external factor, the above operation is performed. The microcomputer 1 is reset by the same operation as that shown in Example 2.

【0025】図6の2線式通信システムを、本発明の実
施例3に示すリセット機能付き通信装置を用いて構成し
た場合は、マスタ通信装置のみは、従来のリセット機能
をもたない通信装置を用いる。
When the two-wire communication system shown in FIG. 6 is configured using the communication device with the reset function shown in the third embodiment of the present invention, only the master communication device has the conventional communication device without the reset function. Is used.

【0026】このシステムの動作として、正常なデータ
通信は従来の通信装置を用いて構成した場合と同様の動
作が行える。通信路が低レベルに固定される状態になっ
た場合、実施例1に示したものと同様に、低レベルを出
力しているリセット機能付き通信装置は自動的にリセッ
トされるため、通信路もリセットされ、通信路は復帰で
きる。また、通信の制御を行うマスタ通信装置がデータ
通信中に異常を検知した場合、実施例2に示したものと
同様にして、すべてのスレーブユニットをリセットし、
通信を再開することができる。
As an operation of this system, normal data communication can perform the same operation as the case where it is configured using a conventional communication device. When the communication path is fixed at the low level, the communication apparatus with the reset function that outputs the low level is automatically reset, as in the case of the first embodiment. It is reset and the communication path can be restored. When the master communication device that controls communication detects an abnormality during data communication, resets all slave units in the same manner as described in the second embodiment,
Communication can be resumed.

【0027】[0027]

【発明の効果】以上のように本発明によれば、マイコン
のデータ出力端子に接続された送信用素子および前記マ
イコンのデータ入力端子に接続された受信用素子を備え
た通信装置であって、前記送信用素子の出力側または受
信用素子の出力側のいずれか一方に接続された充電制御
用抵抗と、この充電制御用抵抗に接続されたコンデンサ
と、このコンデンサと並列に接続された放電制御用抵抗
とを有し、前記コンデンサと放電制御用抵抗のそれぞれ
の一端が前記充電制御用抵抗に接続されるとともに前記
マイコンのリセット端子にもつながれ、前記コンデンサ
と放電制御用抵抗のそれぞれの他端が接地され、前記充
電制御用抵抗と前記コンデンサにより決まる第1の時定
数が前記放電制御用抵抗と前記コンデンサにより決まる
第2の時定数より小さくなるように予め定められてお
り、前記送信用素子の出力側が前記充電制御用抵抗に接
続されるとともに前記送信用素子の出力側から通信路に
向かって低レベルの出力が続いた場合、または、前記受
信用素子の出力側が前記充電制御用抵抗に接続されると
ともに前記通信路から前記受信用素子の入力側に向かっ
て低レベルの出力が一定時間続いた場合は、前記コンデ
ンサの両端電圧が前記マイコンのリセット電圧以下にな
り、前記マイコンのリセット端子がアクティブになるよ
うに構成されているため、異常時の通信路の復帰を容易
にすることができるリセット機能付き通信装置を提供す
ることができる。
As described above, according to the present invention, the microcomputer
Transmitting element connected to the data output terminal of
Equipped with a receiving element connected to the data input terminal of the icon
Communication device, comprising: an output side or a reception side of the transmitting element.
Charge control connected to one of the output sides of the credit element
Resistance and the capacitor connected to this charge control resistance
And a discharge control resistor connected in parallel with this capacitor
And each of the capacitor and the discharge control resistor
Is connected to the charge control resistor and
The capacitor is connected to the reset terminal of the microcomputer.
And the other end of each discharge control resistor are grounded,
The first time constant determined by the power control resistor and the capacitor
The number is determined by the discharge control resistor and the capacitor
It is predetermined so as to be smaller than the second time constant.
The output side of the transmitting element is connected to the charging control resistor.
To the communication path from the output side of the transmitting element.
If low level output continues toward
When the output side of the credit element is connected to the charge control resistor
Both from the communication path to the input side of the receiving element
If the low level output continues for a certain period of time,
The voltage across the sensor is below the reset voltage of the microcomputer.
The reset terminal of the microcomputer becomes active.
With such a configuration, it is possible to provide a communication device with a reset function that can easily restore a communication path when an abnormality occurs.

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

【図1】本発明の第1の実施例におけるリセット機能付
き通信装置を示すブロック図
FIG. 1 is a block diagram showing a communication device with a reset function according to a first embodiment of the present invention.

【図2】同通信装置に使用される暴走保護回路を示す回
路図
FIG. 2 is a circuit diagram showing a runaway protection circuit used in the communication device.

【図3】同暴走保護回路の動作説明図FIG. 3 is an operation explanatory diagram of the runaway protection circuit.

【図4】本発明の第2の実施例におけるリセット機能付
き通信装置を示すブロック図
FIG. 4 is a block diagram showing a communication device with a reset function according to a second embodiment of the present invention.

【図5】本発明の第3の実施例におけるリセット機能付
き通信装置を示すブロック図
FIG. 5 is a block diagram showing a communication device with a reset function according to a third embodiment of the present invention.

【図6】従来の2線式通信システムを示すブロック図FIG. 6 is a block diagram showing a conventional two-wire communication system.

【図7】従来の通信装置を示すブロック図FIG. 7 is a block diagram showing a conventional communication device.

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

1 マイコン 2 送信用素子 3 受信用素子 4,4’ 暴走保護回路 オアゲート 41 充電制御用抵抗 42 コンデンサ 43 放電制御用抵抗 44 電流制限抵抗 45 ツェナーダイオード 46,47 ダイオード DESCRIPTION OF SYMBOLS 1 Microcomputer 2 Transmitting element 3 Receiving element 4, 4 'Runaway protection circuit 5 OR gate 41 Charge control resistor 42 Capacitor 43 Discharge control resistor 44 Current limiting resistor 45 Zener diode 46, 47 Diode

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 マイコンのデータ出力端子に接続され
送信用素子および前記マイコンのデータ入力端子に接続
された受信用素子を備えた通信装置であって、前記送信
用素子の出力側または受信用素子の出力側のいずれか一
方に接続された充電制御用抵抗と、この充電制御用抵抗
に接続されたコンデンサと、このコンデンサと並列に接
続された放電制御用抵抗とを有し、前記コンデンサと放
電制御用抵抗のそれぞれの一端が前記充電制御用抵抗に
接続されるとともに前記マイコンのリセット端子にもつ
ながれ、前記コンデンサと放電制御用抵抗のそれぞれの
他端が接地され、前記充電制御用抵抗と前記コンデンサ
により決まる第1の時定数が前記放電制御用抵抗と前記
コンデンサにより決まる第2の時定数より小さくなるよ
うに予め定められており、前記送信用素子の出力側が前
記充電制御用抵抗に接続されるとともに前記送信用素子
の出力側から通信路に向かって低レベルの出力が続いた
場合、または、前記受信用素子の出力側が前記充電制御
用抵抗に接続されるとともに前記通信路から前記受信用
素子の入力側に向かって低レベルの出力が一定時間続い
た場合は、前記コンデンサの両端電圧が前記マイコンの
リセット電圧以下になり、前記マイコンのリセット端子
がアクティブになるように構成されたリセット機能付き
通信装置。
1. A transmission element connected to a data output terminal of a microcomputer and a transmission element connected to a data input terminal of the microcomputer.
A communication apparatus provided with a receiving element that is, the transmission
Either the output side of the receiving element or the output side of the receiving element
And the charge control resistor connected to
Connected in parallel with this capacitor
A discharge control resistor connected to the capacitor,
One end of each of the charge control resistors is connected to the charge control resistor.
Connected to the reset terminal of the microcomputer
Each of the capacitor and the discharge control resistor
The other end is grounded, the charge control resistor and the capacitor
Is determined by the discharge control resistor and the first time constant.
Smaller than the second time constant determined by the capacitor
The output side of the transmitting element is
The transmitting element connected to the charging control resistor;
Low level output continued from the output side of the
Or the output side of the receiving element is the charging control
To the receiving resistor from the communication path.
Low level output continues for a certain amount of time toward the input side of the device
The voltage across the capacitor
The reset voltage is lower than the reset voltage.
A communication device with a reset function configured to be active .
【請求項2】 マイコンのデータ出力端子に接続された
送信用素子および前記マイコンのデータ入力端子に接続
された受信用素子を備えた通信装置であって、前記送信
用素子の出力側および受信用素子の出力側にそれぞれ接
続された第1、第2の充電制御用抵抗と、前記第1、第
2の充電制御用抵抗にそれぞれ接続された第1、第2の
コンデンサと、前記第1、第2のコンデンサにそれぞれ
並列に接続された第1、第2の放電制御用抵抗とを有
し、前記第1のコンデンサと第1の放電制御用抵抗のそ
れぞれの一端が前記第1の充電制御用抵抗に接続される
とともにオアゲートの入力側に接続され、前記第1のコ
ンデンサと第1の放電制御用抵抗のそれぞれの他端が接
地され、前記第2のコンデンサと第2の放電制御用抵抗
のそれぞれの一端が前記第2の充電制御用抵抗に接続さ
れるとともに前記オア ゲートの入力側に接続され、前記
第2のコンデンサと第2の放電制御用抵抗のそれぞれの
他端が接地され、前記オアゲートの出力側が前記マイコ
ンのリセット端子に接続され、前記第1の充電制御用抵
抗と前記第1のコンデンサにより決まる第1の時定数が
前記第1の放電制御用抵抗と前記第1のコンデンサによ
り決まる第2の時定数より小さくなるように予め定めら
れ、前記第2の充電制御用抵抗と前記第2のコンデンサ
により決まる第3の時定数が前記第2の放電制御用抵抗
と前記第2のコンデンサにより決まる第4の時定数より
小さくなるように予め定められており、前記送信用素子
の出力側から通信路に向かって低レベルの出力が続いた
場合、または、前記通信路から前記受信用素子の入力側
に向かって低レベルの出力が一定時間続いた場合は、前
記第1または第2のコンデンサの両端電圧が前記マイコ
ンのリセット電圧以下になり、前記オアゲートの出力に
より前記マイコンのリセット端子がアクティブになるよ
うに構成されたリセット機能付き通信装置。
2. A microcomputer connected to a data output terminal of a microcomputer.
Connected to the transmitting element and the data input terminal of the microcomputer
A communication device comprising a receiving element,
Connected to the output side of the receiving element and the output side of the receiving element.
Connected first and second charge control resistors, and the first and second charge control resistors.
1 and 2 respectively connected to the second charge control resistor.
Capacitors and the first and second capacitors respectively
First and second discharge control resistors connected in parallel.
And the first capacitor and the first discharge control resistor.
One end of each is connected to the first charge control resistor
Connected to the input side of the OR gate, and the first core
The other end of each of the capacitor and the first discharge control resistor is connected.
A second capacitor and a second discharge control resistor
Are connected to the second charge control resistor.
Is connected to the input side of the OR gate with the said
Each of the second capacitor and the second discharge control resistor
The other end is grounded, and the output side of the OR gate is
The first charge control resistor.
The first time constant determined by the resistance and the first capacitor is
The first discharge control resistor and the first capacitor;
Predetermined to be smaller than the second time constant determined
The second charge control resistor and the second capacitor
Is determined by the second discharge control resistor.
And the fourth time constant determined by the second capacitor
The transmitting element is predetermined to be small.
Low level output continued from the output side of the
Or from the communication path to the input side of the receiving element
If the low level output continues for a certain period of time,
The voltage across the first or second capacitor is
Below the reset voltage of the
The reset terminal of the microcomputer becomes active
Communication device with reset function configured as follows .
JP10549795A 1995-04-28 1995-04-28 Communication device with reset function Expired - Fee Related JP3304682B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10549795A JP3304682B2 (en) 1995-04-28 1995-04-28 Communication device with reset function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10549795A JP3304682B2 (en) 1995-04-28 1995-04-28 Communication device with reset function

Publications (2)

Publication Number Publication Date
JPH08308008A JPH08308008A (en) 1996-11-22
JP3304682B2 true JP3304682B2 (en) 2002-07-22

Family

ID=14409244

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10549795A Expired - Fee Related JP3304682B2 (en) 1995-04-28 1995-04-28 Communication device with reset function

Country Status (1)

Country Link
JP (1) JP3304682B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010089810A1 (en) * 2009-02-04 2010-08-12 パナソニック株式会社 Reset control circuit, apparatus control device, and control system

Also Published As

Publication number Publication date
JPH08308008A (en) 1996-11-22

Similar Documents

Publication Publication Date Title
US6115831A (en) Integrated circuit for coupling a microcontrolled control apparatus to a two-wire bus
EP0426663B1 (en) Apparatus for defined switching of a microcomputer to standby mode
US7668995B2 (en) IIC bus communication system capable of suppressing freeze of IIC bus communication and method for controlling IIC bus communication
US6316916B2 (en) Method and mechanism to prevent corruption of data
EP0062871B1 (en) Load management terminal
US5644700A (en) Method for operating redundant master I/O controllers
US6363066B1 (en) Method and arrangement for combined data and power distribution using a communication bus
JP3304682B2 (en) Communication device with reset function
KR20060013654A (en) Method and devices for transmitting data on a data line between a central control unit and at least one data processing unit interface of at least one decentralized data processing unit
JPS6047531A (en) Fail-safe circuit of multiple signal transmission system
US7142404B1 (en) System and method for domain power monitoring and notification
US5062072A (en) Input management circuit particularly for a programmable automation
EP1359057B1 (en) Vehicle data transmission system with link redundancy
US5838073A (en) Sideband communication on the standard parallel SCSI bus
JPH07273781A (en) Multiple transmitter
US11233938B2 (en) Power management apparatus and power management system
WO2021244130A1 (en) Fault diagnosis method, electronic device, and storage medium
US6412016B1 (en) Network link bypass device
US6091711A (en) Multiplex communication method and multiplex communication apparatus
US7421366B2 (en) Bus station connection to a bus system for restraining means and/or sensors
CN214225697U (en) Aircraft and control circuit of flight control system thereof
CN218633980U (en) Power failure monitoring protection circuit, network security transmission card and security equipment
KR930001222Y1 (en) Circuit for inspecting communication
JP2614926B2 (en) Power control system
JP2563565B2 (en) Reset control circuit for microcomputer

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090510

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100510

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110510

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110510

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120510

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120510

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130510

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees